Merge pull request #1638 from PeterDaveHello/patch-2

Clean up apt local cache in Dockerfile
This commit is contained in:
Dimitri Witkowski 2020-11-29 18:56:38 +01:00 committed by GitHub
commit 52f27ce743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ FROM nginx:stable
LABEL maintainer="antelle.net@gmail.com"
# install
RUN apt-get -y update && apt-get -y install openssl curl unzip
RUN apt-get -y update && apt-get -y install openssl curl unzip && rm -rf /var/lib/apt/lists/*
# setup nginx
RUN rm -rf /etc/nginx/conf.d/*; \