2020-05-30 14:54:03 +00:00
|
|
|
FROM alpine:3.12
|
2020-02-13 17:57:12 +00:00
|
|
|
|
2020-03-08 12:27:44 +00:00
|
|
|
|
|
|
|
ARG ARG_POSTFIX_VERSION
|
|
|
|
ENV POSTFIX_VERSION $ARG_POSTFIX_VERSION
|
|
|
|
|
|
|
|
# hadolint ignore=DL3018
|
2020-02-13 17:57:12 +00:00
|
|
|
RUN apk add --no-cache \
|
2020-03-08 12:27:44 +00:00
|
|
|
postfix=$POSTFIX_VERSION \
|
2020-02-13 17:57:12 +00:00
|
|
|
rsyslog \
|
|
|
|
runit
|
|
|
|
|
|
|
|
COPY service /etc/service
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
COPY rsyslog.conf /etc/rsyslog.conf
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|