You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Switching to alpine:3.12
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# First stage to build assets
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
ARG ARCH=""
|
||||
FROM ${ARCH}node:8 as assets
|
||||
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
|
||||
|
||||
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
|
||||
WORKDIR /tmp
|
||||
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
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# This is an idle image to dynamically replace any component if disabled.
|
||||
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
|
||||
CMD sleep 1000000d
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.11
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
@@ -6,7 +6,7 @@ RUN apk add --no-cache \
|
||||
&& pip3 install --upgrade pip
|
||||
|
||||
# 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
|
||||
RUN apk add --no-cache \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
|
||||
RUN apk add --no-cache curl bash python3 \
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.10
|
||||
ARG DISTRO=alpine:3.12
|
||||
FROM $DISTRO
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
@@ -6,7 +6,7 @@ RUN apk add --no-cache \
|
||||
&& pip3 install --upgrade pip
|
||||
|
||||
# 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
|
||||
RUN apk add --no-cache unbound curl bind-tools \
|
||||
|
Reference in New Issue
Block a user