Use --no-cache when installing packages

This commit is contained in:
Pierre Jaury
2017-02-12 16:46:30 +01:00
parent be5562620e
commit 0cf1d82dde
7 changed files with 10 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
FROM nginx:alpine
RUN apk add --update nginx-lua openssl && rm -rf /var/cache/apk/*
RUN apk add --no-cache nginx-lua openssl
COPY nginx.conf.default /etc/nginx/nginx.conf.default
COPY nginx.conf.fallback /etc/nginx/nginx.conf.fallback