Switching to alpine:3.12

master
ofthesun9 5 years ago
parent 4c9a4b2824
commit cff2e76269

@ -1,5 +1,5 @@
# First stage to build assets # First stage to build assets
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
ARG ARCH="" ARG ARCH=""
FROM ${ARCH}node:8 as assets FROM ${ARCH}node:8 as assets
COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static COPY --from=balenalib/rpi-alpine:3.10 /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
@ -43,4 +43,4 @@ ENV FLASK_APP mailu
CMD /start.py CMD /start.py
HEALTHCHECK CMD curl -f -L http://localhost/ui/login?next=ui.index || exit 1 HEALTHCHECK CMD curl -f -L http://localhost/ui/login?next=ui.index || exit 1

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO as builder FROM $DISTRO as builder
WORKDIR /tmp WORKDIR /tmp
RUN apk add git build-base automake autoconf libtool dovecot-dev xapian-core-dev icu-dev RUN apk add git build-base automake autoconf libtool dovecot-dev xapian-core-dev icu-dev

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
# python3 shared with most images # python3 shared with most images
RUN apk add --no-cache \ RUN apk add --no-cache \

@ -1,6 +1,6 @@
# This is an idle image to dynamically replace any component if disabled. # This is an idle image to dynamically replace any component if disabled.
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
CMD sleep 1000000d CMD sleep 1000000d

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
# python3 shared with most images # python3 shared with most images
RUN apk add --no-cache \ RUN apk add --no-cache \

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
# python3 shared with most images # python3 shared with most images
RUN apk add --no-cache \ RUN apk add --no-cache \

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.11 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
# python3 shared with most images # python3 shared with most images
RUN apk add --no-cache \ RUN apk add --no-cache \

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
# python3 shared with most images # python3 shared with most images
RUN apk add --no-cache \ RUN apk add --no-cache \
@ -6,7 +6,7 @@ RUN apk add --no-cache \
&& pip3 install --upgrade pip && pip3 install --upgrade pip
# Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube # Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube
RUN pip3 install socrate RUN pip3 install socrate==0.2.0
# Image specific layers under this line # Image specific layers under this line
RUN apk add --no-cache \ RUN apk add --no-cache \

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
RUN apk add --no-cache curl bash python3 \ RUN apk add --no-cache curl bash python3 \

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.10 ARG DISTRO=alpine:3.12
FROM $DISTRO FROM $DISTRO
# python3 shared with most images # python3 shared with most images
RUN apk add --no-cache \ RUN apk add --no-cache \
@ -6,7 +6,7 @@ RUN apk add --no-cache \
&& pip3 install --upgrade pip && pip3 install --upgrade pip
# Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube # Shared layer between nginx, dovecot, postfix, postgresql, rspamd, unbound, rainloop, roundcube
RUN pip3 install socrate RUN pip3 install socrate==0.2.0
# Image specific layers under this line # Image specific layers under this line
RUN apk add --no-cache unbound curl bind-tools \ RUN apk add --no-cache unbound curl bind-tools \

Loading…
Cancel
Save