diff options
author | Arthur Moore <Arthur.Moore.git@cd-net.net> | 2019-02-19 04:00:47 -0500 |
---|---|---|
committer | Arthur Moore <Arthur.Moore.git@cd-net.net> | 2019-02-19 04:00:47 -0500 |
commit | a682980385c3bef3395c15858d1ef8e0bef585d4 (patch) | |
tree | e7171a780844e2fc94b067f5faf49ecc7588bc06 /Dockerfile | |
parent | Add a Dockerfile (diff) | |
download | OpenSMTPD-a682980385c3bef3395c15858d1ef8e0bef585d4.tar.xz OpenSMTPD-a682980385c3bef3395c15858d1ef8e0bef585d4.zip |
Use Dockerfile best practices
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,7 @@ FROM alpine:3.9 as build + +WORKDIR /opensmtpd + RUN apk add --no-cache \ ca-certificates \ wget \ @@ -21,14 +24,13 @@ COPY . /opensmtpd #build opensmtpd RUN rm -r /usr/local/ -RUN cd /opensmtpd && \ - ./bootstrap && \ +RUN ./bootstrap && \ ./configure --with-gnu-ld --sysconfdir=/etc --with-path-empty=/var/lib/opensmtpd/empty/ && \ make && \ make install FROM alpine:3.9 -MAINTAINER Arthur Moore <Arthur.Moore.git@cd-net.net> +LABEL maintainer="Arthur Moore <Arthur.Moore.git@cd-net.net>" EXPOSE 25 EXPOSE 465 |