Skip to content

Commit

Permalink
Alpine version bump to 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukancagatay committed Apr 17, 2021
1 parent f59f3f9 commit bfebb04
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10 as builder
FROM alpine:3.13 as builder

ARG DOWNLOAD_URL=https://downloads.sourceforge.net/project/emailrelay/emailrelay/2.2/emailrelay-2.2-src.tar.gz

Expand All @@ -11,22 +11,23 @@ RUN apk add --no-cache curl g++ make autoconf automake openssl-dev \
&& make -j $(nproc --all) \
&& make install

FROM alpine:3.10
FROM alpine:3.13
LABEL maintainer="Dogukan Cagatay <[email protected]>"

ENV PORT="25" \
SWAKS_OPTS="" \
DEFAULT_OPTS="--no-daemon --no-syslog --log --log-time --remote-clients" \
SPOOL_DIR="/var/spool/emailrelay"

RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
RUN apk add --update --no-cache \
libstdc++ \
openssl \
ca-certificates \
dumb-init \
swaks \
bash \
perl-net-ssleay \
perl-net-ssleay && \
apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
swaks \
&& rm -rf /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* \
&& mkdir -p "${SPOOL_DIR}"

Expand Down

0 comments on commit bfebb04

Please sign in to comment.