12345678910111213141516171819202122 |
- FROM robinthoni/debian-multiarch:jessie
-
- ARG CONFIG_DIR=/etc/default/config-files/
-
- RUN apt-get update &&\
- apt-get install -y ssmtp openvpn openvpn-auth-ldap openvpn-auth-radius ldap-utils easy-rsa &&\
- apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
- rm /etc/cron.*/*
-
- COPY ./vars-vars /etc/vars-vars
-
- COPY ./vars-files /etc/vars-files
-
- COPY ./common.sh /common.sh
-
- COPY run.sh /run.sh
-
- RUN mkdir "${CONFIG_DIR}"
-
- COPY ./config "${CONFIG_DIR}"
-
- CMD ["/run.sh"]
|