Update Dockerfile

This commit is contained in:
Teddysun 2019-12-10 13:38:40 +09:00 committed by GitHub
parent 8da22d1d74
commit d984be07cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
FROM alpine:edge FROM alpine:edge
LABEL maintainer="Teddysun <i@teddysun.com>" LABEL maintainer="Teddysun <i@teddysun.com>"
RUN apk add -U openssl libreswan xl2tpd ppp-l2tp \ RUN apk add -U ca-certificates openssl libreswan xl2tpd \
&& ipsec initnss \ && ipsec initnss \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
@ -17,4 +17,4 @@ VOLUME /lib/modules
EXPOSE 500/udp 4500/udp EXPOSE 500/udp 4500/udp
CMD [ "l2tp" ] CMD [ "l2tp" ]