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,13 +1,11 @@
FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \
rmilter@testing rsyslog \
&& rm -rf /var/cache/apk/*
&& apk add --no-cache rmilter@testing rsyslog
COPY rmilter.conf /etc/rmilter.conf
COPY rsyslog.conf /etc/rsyslog.conf
COPY start.sh /start.sh
CMD ["/start.sh"]
CMD ["/start.sh"]