@@ -183,10 +183,12 @@ ln -s /sbin/resizefs /sbin/init
183
183
184
184
# as the Pi does not have a hardware clock we need a fake one
185
185
apt-get install -y \
186
+ --no-install-recommends \
186
187
fake-hwclock
187
188
188
189
# install packages for managing wireless interfaces
189
190
apt-get install -y \
191
+ --no-install-recommends \
190
192
wpasupplicant \
191
193
wireless-tools \
192
194
ethtool \
@@ -203,10 +205,12 @@ apt-get install -y \
203
205
204
206
# ensure compatibility with Docker install.sh, so `raspbian` will be detected correctly
205
207
apt-get install -y \
208
+ --no-install-recommends \
206
209
lsb-release
207
210
208
211
# install cloud-init and its required dependencies
209
212
apt-get install -y \
213
+ --no-install-recommends \
210
214
cloud-init \
211
215
dirmngr \
212
216
less
@@ -227,6 +231,7 @@ echo '{
227
231
#
228
232
# Install packages to allow apt to use a repository over HTTPS:
229
233
apt-get install -y \
234
+ --no-install-recommends \
230
235
apt-transport-https \
231
236
ca-certificates \
232
237
curl \
@@ -244,6 +249,7 @@ add-apt-repository \
244
249
# Install Docker CE
245
250
apt-get update
246
251
apt-get install -y \
252
+ --no-install-recommends \
247
253
docker-ce=" ${DOCKER_ENGINE_VERSION} " \
248
254
docker-ce-cli=" ${DOCKER_ENGINE_VERSION} " \
249
255
containerd.io=" ${CONTAINERD_IO_VERSION} "
@@ -258,6 +264,7 @@ curl -sSL "https://raw.githubusercontent.com/docker/machine/v${DOCKER_MACHINE_VE
258
264
259
265
# install Docker Compose via pip
260
266
apt-get install -y \
267
+ --no-install-recommends \
261
268
python
262
269
curl -sSL https://bootstrap.pypa.io/get-pip.py | python
263
270
pip install docker-compose==" ${DOCKER_COMPOSE_VERSION} "
0 commit comments