Skip to content

Commit

Permalink
Update to pritunl 1.29.2664.67 and Ubuntu 18.04 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Feb 14, 2021
1 parent 0880e37 commit c3a418e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:16.04
FROM ubuntu:18.04

ENV DEBIAN_FRONTEND noninteractive

Expand All @@ -12,10 +12,12 @@ EXPOSE 1194

ENTRYPOINT ["/init"]

ENV VERSION="1.29.2435.70"
ENV VERSION="1.29.2664.67"

RUN echo 'deb http://repo.pritunl.com/stable/apt xenial main' > /etc/apt/sources.list.d/pritunl.list \
&& echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/openvpn-aptrepo.list \
RUN apt-get update && apt-get install -y gnupg2 wget \
&& wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add - \
&& echo 'deb http://repo.pritunl.com/stable/apt bionic main' > /etc/apt/sources.list.d/pritunl.list \
&& echo "deb http://build.openvpn.net/debian/openvpn/stable bionic main" > /etc/apt/sources.list.d/openvpn-aptrepo.list \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 42F3E95A2C4F08279C4960ADD68FA50FEA312927 \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 8E6DA8B4E158C569 \
Expand All @@ -26,7 +28,7 @@ RUN echo 'deb http://repo.pritunl.com/stable/apt xenial main' > /etc/apt/sources
&& ln -sf /usr/share/zoneinfo/UTC /etc/localtime \
&& apt-get upgrade -y -q \
&& apt-get dist-upgrade -y -q \
&& apt-get -y install pritunl iptables \
&& apt-get -y install pritunl="${VERSION}*" iptables netcat \
&& apt-get clean \
&& apt-get -y -q autoclean \
&& apt-get -y -q autoremove \
Expand Down

0 comments on commit c3a418e

Please sign in to comment.