This commit is contained in:
2020-06-09 01:07:16 -03:00
parent cd3124179d
commit d2b4c8c23f
5 changed files with 154 additions and 51 deletions

View File

@@ -2,7 +2,7 @@ FROM debian:buster-slim
ARG REMCO_VER=0.11.1
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
opendkim opendkim-tools wget unzip \
openvpn \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& wget https://github.com/HeavyHorst/remco/releases/download/v${REMCO_VER}/remco_${REMCO_VER}_linux_amd64.zip \
@@ -10,6 +10,5 @@ RUN apt-get update \
&& rm remco_${REMCO_VER}_linux_amd64.zip \
&& mv remco_linux /bin/remco
COPY config /etc/remco/config
COPY opendkim_setup.tmpl /etc/remco/templates/opendkim_setup.tmpl
EXPOSE 8891
COPY openvpn_setup.tmpl /etc/remco/templates/openvpn_setup.tmpl
ENTRYPOINT ["remco"]