Skip to content

Commit 0d2fa22

Browse files
committed
debian: don't install suggested and recommended packages.
1 parent f65465e commit 0d2fa22

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mainline/jessie/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV NGINX_VERSION 1.9.13-1~jessie
77
RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
88
&& echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list \
99
&& apt-get update \
10-
&& apt-get install -y \
10+
&& apt-get install --no-install-recommends --no-install-suggests -y \
1111
ca-certificates \
1212
nginx=${NGINX_VERSION} \
1313
nginx-module-xslt \

stable/jessie/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ENV NGINX_VERSION 1.8.1-1~jessie
77
RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
88
&& echo "deb http://nginx.org/packages/debian/ jessie nginx" >> /etc/apt/sources.list \
99
&& apt-get update \
10-
&& apt-get install -y ca-certificates nginx=${NGINX_VERSION} gettext-base \
10+
&& apt-get install --no-install-recommends --no-install-suggests -y \
11+
ca-certificates nginx=${NGINX_VERSION} gettext-base \
1112
&& rm -rf /var/lib/apt/lists/*
1213

1314
# forward request and error logs to docker log collector

0 commit comments

Comments
 (0)