2021-06-02 12:36:28 +00:00
|
|
|
FROM python:3-alpine
|
|
|
|
RUN apk add --update --no-cache strongswan curl
|
|
|
|
RUN pip install requests
|
|
|
|
RUN rm /etc/ipsec.conf && ln -s /server-secrets/ipsec.conf /etc/ipsec.conf
|
|
|
|
RUN rm /etc/ipsec.secrets && ln -s /server-secrets/ipsec.secrets /etc/ipsec.secrets
|
|
|
|
ADD helpers /helpers
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
2021-06-09 19:36:30 +00:00
|
|
|
ADD config/vici.conf /etc/strongswan.d/charon/
|
2021-06-02 12:36:28 +00:00
|
|
|
ENTRYPOINT /entrypoint.sh
|