@@ -9,7 +9,8 @@ FROM ruby:${BASE_IMAGE_TAG}
9
9
ENV LANG="C.UTF-8"
10
10
11
11
ARG RUBYGEMS_VERSION_ARG="" \
12
- BUNDLER_VERSION_ARG=""
12
+ BUNDLER_VERSION_ARG="" \
13
+ DEBIAN_FRONTEND=noninteractive
13
14
14
15
# Define dependencies base versions
15
16
# Note: NodeJS is capped to 14.x on Jessie and 16.x on Stretch (due to `libc` requirements)
@@ -72,8 +73,8 @@ RUN <<INSTALL_DEPENDENCIES
72
73
fi
73
74
\
74
75
# Detect Debian version
75
- apt-get update
76
- apt-get install --assume- yes -- no-install-recommends --no-install-suggests --force-yes \
76
+ apt-get -qq --yes update -o=Dpkg::Use-Pty=0
77
+ apt-get -qq --yes install -o=Dpkg::Use-Pty=0 -- no-install-recommends --no-install-suggests \
77
78
apt-transport-https \
78
79
lsb-release
79
80
@@ -82,7 +83,7 @@ RUN <<INSTALL_DEPENDENCIES
82
83
# Fix LetsEncrypt expired CA on older Debian releases
83
84
case ${debianReleaseCodename} in
84
85
jessie|buster|stretch)
85
- apt-get install --assume- yes -- no-install-recommends --no-install-suggests --force-yes \
86
+ apt-get -qq --yes install -o=Dpkg::Use-Pty=0 -- no-install-recommends --no-install-suggests \
86
87
ca-certificates \
87
88
curl \
88
89
$([ "${debianReleaseCodename}" = "jessie" ] && echo "libssl1.0.0" )
@@ -117,8 +118,8 @@ RUN <<INSTALL_DEPENDENCIES
117
118
esac | bash
118
119
\
119
120
# Install everything
120
- apt-get update
121
- apt-get install --assume- yes -- no-install-recommends --no-install-suggests --force-yes \
121
+ apt-get -qq --yes update -o=Dpkg::Use-Pty=0
122
+ apt-get -qq --yes install -o=Dpkg::Use-Pty=0 -- no-install-recommends --no-install-suggests \
122
123
jq \
123
124
nano \
124
125
nodejs \
@@ -133,7 +134,7 @@ RUN <<INSTALL_DEPENDENCIES
133
134
npm install --global yarn
134
135
\
135
136
# Install Heroku CLI (standalone tarball)
136
- curl -sSL curl https://cli-assets.heroku.com/install.sh | sh
137
+ curl -sSL https://cli-assets.heroku.com/install.sh | sh
137
138
esac
138
139
INSTALL_DEPENDENCIES
139
140
0 commit comments