Created
May 7, 2018 08:12
-
-
Save dbene/e5dded5f6dc6dc897f2aeff822562c32 to your computer and use it in GitHub Desktop.
pritunl Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN echo "deb http://repo.pritunl.com/stable/apt xenial main" >> /etc/apt/sources.list.d/pritunl.list | |
RUN apt-get update | |
RUN apt-get install -y dirmngr | |
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A | |
RUN apt-get update | |
RUN apt-get -y install psmisc iptables pritunl vim nano | |
EXPOSE 443 | |
EXPOSE 1195 | |
#Habs nach der Installation hinzugefügt, sollte aber auch so klappen | |
ADD pritunl.conf /etc/pritunl.conf | |
CMD /usr/bin/pritunl start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment