upgrade alpine base-image

master
Thomas Sänger 6 years ago committed by Dario Ernst
parent 829441def5
commit ef3c6c407a

@ -1,17 +1,18 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash \
&& pip3 install --upgrade pip
# Shared layer between admin, rspamd, postfix, dovecot, unbound and nginx
RUN pip3 install git+https://github.com/usrpro/MailuStart.git#egg=mailustart
# Image specific layers under this line
RUN mkdir -p /app
WORKDIR /app
COPY requirements-prod.txt requirements.txt
RUN apk add --no-cache libressl curl postgresql-libs mariadb-connector-c \
RUN apk add --no-cache openssl curl postgresql-libs mariadb-connector-c \
&& apk add --no-cache --virtual build-dep \
libressl-dev libffi-dev python3-dev build-base postgresql-dev mariadb-connector-c-dev \
openssl-dev libffi-dev python3-dev build-base postgresql-dev mariadb-connector-c-dev \
&& pip3 install -r requirements.txt \
&& apk del --no-cache build-dep

@ -1,14 +1,15 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash \
&& pip3 install --upgrade pip
# Shared layer between rspamd, postfix, dovecot, unbound and nginx
# Shared layer between admin, rspamd, postfix, dovecot, unbound and nginx
RUN pip3 install git+https://github.com/usrpro/MailuStart.git#egg=mailustart
# Shared layer between dovecot and postfix
RUN pip3 install podop
# Image specific layers under this line
RUN apk add --no-cache \
dovecot dovecot-pigeonhole-plugin rspamd-client bash \
&& pip3 install podop \
dovecot dovecot-lmtpd dovecot-pop3d dovecot-submissiond dovecot-pigeonhole-plugin rspamd-client \
&& mkdir /var/lib/dovecot
COPY conf /conf

@ -1,9 +1,9 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash \
&& pip3 install --upgrade pip
# Shared layer between rspamd, postfix, dovecot, unbound and nginx
# Shared layer between admin, rspamd, postfix, dovecot, unbound and nginx
RUN pip3 install git+https://github.com/usrpro/MailuStart.git#egg=mailustart
# Image specific layers under this line
RUN apk add --no-cache certbot nginx nginx-mod-mail openssl curl \

@ -1,5 +1,5 @@
# This is an idle image to dynamically replace any component if disabled.
FROM alpine:3.8
FROM alpine:3.9
CMD sleep 1000000d

@ -1,14 +1,15 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash \
&& pip3 install --upgrade pip
# Shared layer between rspamd, postfix, dovecot, unbound and nginx
# Shared layer between admin, rspamd, postfix, dovecot, unbound and nginx
RUN pip3 install git+https://github.com/usrpro/MailuStart.git#egg=mailustart
# Shared layer between dovecot and postfix
RUN pip3 install podop
# Image specific layers under this line
RUN apk add --no-cache postfix postfix-pcre rsyslog \
&& pip3 install podop
RUN apk add --no-cache postfix postfix-pcre rsyslog
COPY conf /conf
COPY start.py /start.py

@ -1,4 +1,4 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip bash \

@ -1,5 +1,5 @@
# First stage: Build
FROM alpine:3.8 as builder
FROM alpine:3.10 as builder
# build dependencies
RUN apk add --no-cache curl tar xz autoconf git gettext build-base openssl openssl-dev
@ -9,7 +9,7 @@ RUN cd fetchmail-7.0.0-alpha6 && \
./configure --with-ssl --prefix /usr/local --disable-nls && \
make
FROM alpine:3.8
FROM alpine:3.10
# python3 shared with most images

@ -1,9 +1,9 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash \
&& pip3 install --upgrade pip
# Shared layer between rspamd, postfix, dovecot, unbound and nginx
# Shared layer between admin, rspamd, postfix, dovecot, unbound and nginx
RUN pip3 install git+https://github.com/usrpro/MailuStart.git#egg=mailustart
# Image specific layers under this line
RUN apk add --no-cache rspamd rspamd-controller rspamd-proxy rspamd-fuzzy ca-certificates curl

@ -1,9 +1,9 @@
FROM alpine:3.8
FROM alpine:3.9
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip git bash \
&& pip3 install --upgrade pip
# Shared layer between rspamd, postfix, dovecot, unbound and nginx
# Shared layer between admin, rspamd, postfix, dovecot, unbound and nginx
RUN pip3 install git+https://github.com/usrpro/MailuStart.git#egg=mailustart
# Image specific layers under this line
RUN apk add --no-cache unbound curl bind-tools \

Loading…
Cancel
Save