theia-vpn/Dockerfile
2020-01-25 11:53:33 -05:00

13 lines
366 B
Docker

# docker build -t theia-vpn .
FROM theiaide/theia:next
USER root
RUN apk add openconnect shadow --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
COPY docker-entrypoint.sh /docker-entrypoint.sh
HEALTHCHECK --interval=10s --timeout=10s --start-period=10s \
CMD /sbin/ifconfig tun0
ENTRYPOINT ["/docker-entrypoint.sh"]