-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
28 lines (22 loc) · 837 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Dante Sock5 PureVPN with random exit point
#
# Required environment variables:
# - purevpn_username
# - purevpn_password
#
# Usage example:
# docker run --privileged -ti -e purevpn_username='' -e purevpn_password='' qya/vpnoxy-ubuntu-container:latest
FROM ubuntu:18.04
MAINTAINER Fais <qya[@]vivaldi.net>
RUN apt-get update \
&& apt-get install -y wget curl iproute2 net-tools iputils-ping expect \
&& apt-get install -y --no-install-recommends expect \
&& apt-get install -y dante-server
EXPOSE 8112 1080
# Download and install PureVPN
RUN wget -O purevpn_amd64.deb 'https://s3.amazonaws.com/purevpn-dialer-assets/linux/app/purevpn_1.2.3_amd64.deb' \
&& dpkg -i purevpn_amd64.deb
ADD entrypoint.sh /entrypoint.sh
ADD danted.conf /etc/danted.conf
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash"]