Ask apk to leave no cache in Dockerfile

This will make the image smaller
pull/1639/head
Peter Dave Hello 3 years ago committed by GitHub
parent 5d3e110a9e
commit 57296ba313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,11 +17,11 @@ FROM armhf/alpine:latest
MAINTAINER Antelle "antelle.net@gmail.com"
# install nginx
RUN apk add --update bash nginx && \
RUN apk add --no-cache bash nginx && \
mkdir -p /run/nginx/
# install
RUN apk add --update openssl wget unzip ca-certificates
RUN apk add --no-cache openssl wget unzip ca-certificates
# setup nginx
RUN rm -rf /etc/nginx/conf.d/*; \

Loading…
Cancel
Save