Skip to content

Commit bd371f8

Browse files
committed
Install ca-certificates by default.
Requested in nginx#12 and seen as used in https://github.com/jwilder/nginx-proxy.
1 parent 57da113 commit bd371f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ RUN echo "deb http://nginx.org/packages/mainline/debian/ wheezy nginx" >> /etc/a
77

88
ENV NGINX_VERSION 1.7.9-1~wheezy
99

10-
RUN apt-get update && apt-get install -y nginx=${NGINX_VERSION} && rm -rf /var/lib/apt/lists/*
10+
RUN apt-get update && \
11+
apt-get install -y ca-certificates nginx=${NGINX_VERSION} && \
12+
rm -rf /var/lib/apt/lists/*
1113

1214
# forward request and error logs to docker log collector
1315
RUN ln -sf /dev/stdout /var/log/nginx/access.log

0 commit comments

Comments
 (0)