forked from drdaeman/docker-emailrelay
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f59f3f9
commit bfebb04
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
@@ -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}" | ||
|
||
|