StrongSwan wrapper for Pinecrypt Gateway
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
380 B

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
ADD config/vici.conf /etc/strongswan.d/charon/
ENTRYPOINT /entrypoint.sh