mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-26 03:52:50 +02:00
Move curl to base image
This commit is contained in:
parent
4c1071a497
commit
146921f619
@ -7,7 +7,7 @@ ARG VERSION=local
|
||||
LABEL version=$VERSION
|
||||
|
||||
RUN set -euxo pipefail \
|
||||
; apk add --no-cache curl libressl mariadb-connector-c postgresql-libs
|
||||
; apk add --no-cache libressl mariadb-connector-c postgresql-libs
|
||||
|
||||
COPY mailu/ ./mailu/
|
||||
RUN set -euxo pipefail \
|
||||
|
@ -12,7 +12,7 @@ ARG MAILU_GID=1000
|
||||
RUN set -euxo pipefail \
|
||||
; addgroup -Sg ${MAILU_GID} mailu \
|
||||
; adduser -Sg ${MAILU_UID} -G mailu -h /app -g "mailu app" -s /bin/bash mailu \
|
||||
; apk add --no-cache bash ca-certificates python3 tzdata
|
||||
; apk add --no-cache bash ca-certificates curl python3 tzdata
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -17,7 +17,7 @@ ARG VERSION
|
||||
LABEL version=$VERSION
|
||||
|
||||
RUN set -euxo pipefail \
|
||||
; apk add --no-cache certbot curl nginx nginx-mod-mail openssl
|
||||
; apk add --no-cache certbot nginx nginx-mod-mail openssl
|
||||
|
||||
COPY conf/ /conf/
|
||||
COPY --from=static /static/ /static/
|
||||
|
@ -7,7 +7,7 @@ ARG VERSION=local
|
||||
LABEL version=$VERSION
|
||||
|
||||
RUN set -euxo pipefail \
|
||||
; apk add --no-cache curl rspamd rspamd-controller rspamd-fuzzy rspamd-proxy \
|
||||
; apk add --no-cache rspamd rspamd-controller rspamd-fuzzy rspamd-proxy \
|
||||
; mkdir /run/rspamd
|
||||
|
||||
COPY conf/ /conf/
|
||||
|
@ -6,9 +6,6 @@ FROM base
|
||||
ARG VERSION=local
|
||||
LABEL version=$VERSION
|
||||
|
||||
RUN set -euxo pipefail \
|
||||
; apk add --no-cache curl
|
||||
|
||||
COPY radicale.conf /
|
||||
|
||||
RUN echo $VERSION >/version
|
||||
|
@ -7,11 +7,10 @@ ARG VERSION=local
|
||||
LABEL version=$VERSION
|
||||
|
||||
RUN set -euxo pipefail \
|
||||
; apk add --no-cache bind-tools curl unbound \
|
||||
; apk add --no-cache bind-tools unbound \
|
||||
; curl -so /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
|
||||
; chown root:unbound /etc/unbound \
|
||||
; chmod 775 /etc/unbound \
|
||||
; apk del --no-cache curl \
|
||||
; /usr/sbin/unbound-anchor -a /etc/unbound/trusted-key.key || true
|
||||
|
||||
COPY unbound.conf /
|
||||
|
Loading…
x
Reference in New Issue
Block a user