Skip to content

Instantly share code, notes, and snippets.

@dbene
Created May 7, 2018 08:12
Show Gist options
  • Save dbene/e5dded5f6dc6dc897f2aeff822562c32 to your computer and use it in GitHub Desktop.
Save dbene/e5dded5f6dc6dc897f2aeff822562c32 to your computer and use it in GitHub Desktop.
pritunl Dockerfile
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