-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (22 loc) · 847 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM alpine:edge
ARG BUILD_DATE=0
ARG VCS_REF=0
ARG VERSION=3.4.1
LABEL maintainer="Ernesto Pérez <ernesto.perez@euigs.com>" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="Postfix" \
org.label-schema.description="Postfix docker images based on Alpine Linux" \
org.label-schema.url="https://cloud.docker.com/u/euigs/repository/docker/euigs/postfix" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/aeperez/docker-postfix" \
org.label-schema.vendor="EUIGS" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0"
RUN set -ex && \
apk add --update --no-cache \
postfix \
ca-certificates
COPY root /
EXPOSE 25/tcp
ENTRYPOINT ["/usr/local/sbin/entry-point.sh"]
CMD ["/usr/sbin/postfix", "-v", "start-fg"]