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,11 +1,10 @@
FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \
&& apk add --no-cache \
dovecot dovecot-sqlite dovecot-pigeonhole-plugin dovecot-pigeonhole-plugin-extdata \
rspamd-client@testing \
bash \
&& rm -rf /var/cache/apk/*
bash
COPY conf /etc/dovecot
COPY sieve /var/lib/dovecot