mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-17 20:57:54 +02:00
Use --no-cache when installing packages
This commit is contained in:
parent
be5562620e
commit
0cf1d82dde
@ -1,11 +1,6 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --update \
|
||||
clamav \
|
||||
rsyslog \
|
||||
wget \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
RUN apk add --no-cache clamav rsyslog wget
|
||||
|
||||
COPY conf /etc/clamav
|
||||
COPY start.sh /start.sh
|
||||
|
@ -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
|
||||
|
@ -1,9 +1,6 @@
|
||||
FROM python:alpine
|
||||
|
||||
RUN apk add --update \
|
||||
fetchmail \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
RUN apk add --no-cache fetchmail ca-certificates
|
||||
|
||||
COPY fetchmail.py /fetchmail.py
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --update bash postfix postfix-sqlite postfix-pcre rsyslog && rm -rf /var/cache/apk/*
|
||||
RUN apk add --no-cache bash postfix postfix-sqlite postfix-pcre rsyslog
|
||||
|
||||
COPY conf /etc/postfix
|
||||
COPY rsyslog.conf /etc/rsyslog.conf
|
||||
|
@ -1,9 +1,7 @@
|
||||
FROM alpine:edge
|
||||
|
||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk add --update \
|
||||
radicale@testing \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
&& apk add --no-cache radicale@testing
|
||||
|
||||
COPY radicale.conf /radicale.conf
|
||||
|
||||
|
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user