Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added developer mode * Automatically installs docker on debian * Added fi to complete if statement * Added quotes around platform command * Fixed typo from darwin>debian (probably atom's fault) * Set to use install script at get.docker.com * Updated docker build * Fixed build issues * Switched to debian:latest which should ensure max compatibility * Made it easier and faster to build * Updated amd64 dockerfile and removed unnecessary code * Added nopass option, which should fix #7 * Uncommented a line * Fixed a typo * Replaced mkdir with useradd -m * Exposed both udp and tcp ports * Only exposed 1194/udp * Added 1194/udp to detect_port * Added note about the devel branch * Added note about TCP * Changed latest to stretch * Changed latest to stretch * Fixed issues mentioned in #9 * Fixed issues mentioned in #9
- Loading branch information
1 parent
c9b1dcc
commit 522252b
Showing
4 changed files
with
78 additions
and
74 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
FROM ubuntu:16.04 | ||
FROM debian:stretch | ||
|
||
MAINTAINER InnovativeInventor | ||
|
||
RUN apt-get update | ||
RUN apt-get install curl -y | ||
RUN apt-get install software-properties-common -y | ||
RUN apt-get install debconf-utils | ||
RUN apt-get install git -y | ||
RUN apt-get install nano | ||
RUN apt-get install whiptail -y | ||
RUN apt-get install openvpn -y | ||
RUN apt-get install dhcpcd5 -y | ||
RUN apt-get install dnsutils -y | ||
RUN apt-get install expect -y | ||
RUN apt-get install whiptail | ||
RUN mkdir /home/pivpn | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
software-properties-common \ | ||
debconf-utils \ | ||
git \ | ||
nano \ | ||
whiptail \ | ||
openvpn \ | ||
dhcpcd5 \ | ||
dnsutils \ | ||
expect \ | ||
whiptail \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -L https://install.pivpn.io -o install.sh | ||
RUN useradd pivpn | ||
EXPOSE 1194 | ||
RUN useradd -m pivpn | ||
EXPOSE 1194/udp |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
FROM resin/armv7hf-debian | ||
FROM arm32v7/debian:stretch | ||
|
||
MAINTAINER InnovativeInventor | ||
|
||
RUN apt-get update | ||
RUN apt-get install curl -y | ||
RUN apt-get install software-properties-common -y | ||
RUN apt-get install debconf-utils | ||
RUN apt-get install git -y | ||
RUN apt-get install nano | ||
RUN apt-get install whiptail -y | ||
RUN apt-get install openvpn -y | ||
RUN apt-get install dhcpcd5 -y | ||
RUN apt-get install dnsutils -y | ||
RUN apt-get install expect -y | ||
RUN apt-get install whiptail | ||
RUN mkdir /home/pivpn | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
software-properties-common \ | ||
debconf-utils \ | ||
git \ | ||
nano \ | ||
whiptail \ | ||
openvpn \ | ||
dhcpcd5 \ | ||
dnsutils \ | ||
expect \ | ||
whiptail \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -L https://install.pivpn.io -o install.sh | ||
RUN useradd pivpn | ||
EXPOSE 1194 | ||
RUN useradd -m pivpn | ||
EXPOSE 1194/udp |
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