-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create CONTRIBUTORS.txt * Update Dockerfile * Update Dockerfile.alpine * Update Dockerfile.debian * Rename CONTRIBUTORS.txt to CONTRIBUTORS * Update Dockerfile * Update Dockerfile.alpine * Update Dockerfile.debian * CHORE(centos): 4.27-9668-beta * CHORE(alpine): 4.27-9668-beta * CHORE(debian): 4.27-9668-beta * FIX(debian): add libssl to runtime * FEAT(ubuntu): ubuntu:18.04 based * TEST(ubuntu): expand travis ci to :ubuntu * DOCS(all): Configurations section closes #56 * DOCS(all): fix table
- Loading branch information
Showing
7 changed files
with
120 additions
and
25 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Ian Neubert <github.com/ianneub> | ||
Ky-Anh Huynh <github.com/icy> | ||
Max Kuchin <[email protected]> | ||
maltalex <github.com/maltalex> | ||
Dmitri Gopkalo <github.com/drefixs> |
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,10 +1,10 @@ | ||
FROM alpine:3.7 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="Ian Neubert <github.com/ianneub>; Ky-Anh Huynh <github.com/icy>; Max Kuchin <[email protected]>; maltalex <github.com/maltalex>" | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.25-9656-rtm \ | ||
SHA256_SUM=c5a1791d69dc6d1c53fb574a3ce709707338520be797acbeac0a631c96c68330 | ||
ENV BUILD_VERSION=4.27-9668-beta \ | ||
SHA256_SUM=85cf84202e09b9efb1948929e99a08041152d7cb812a5761db200b7cd560e573 | ||
|
||
RUN wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v${BUILD_VERSION}.tar.gz \ | ||
&& echo "${SHA256_SUM} v${BUILD_VERSION}.tar.gz" | sha256sum -c \ | ||
|
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,10 +1,10 @@ | ||
FROM alpine:3.7 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="Ian Neubert <github.com/ianneub>; Ky-Anh Huynh <github.com/icy>; Max Kuchin <[email protected]>; maltalex <github.com/maltalex>" | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.25-9656-rtm \ | ||
SHA256_SUM=c5a1791d69dc6d1c53fb574a3ce709707338520be797acbeac0a631c96c68330 | ||
ENV BUILD_VERSION=4.27-9668-beta \ | ||
SHA256_SUM=85cf84202e09b9efb1948929e99a08041152d7cb812a5761db200b7cd560e573 | ||
|
||
RUN wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v${BUILD_VERSION}.tar.gz \ | ||
&& echo "${SHA256_SUM} v${BUILD_VERSION}.tar.gz" | sha256sum -c \ | ||
|
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,10 +1,10 @@ | ||
FROM alpine:3.7 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="Ian Neubert <github.com/ianneub>; Ky-Anh Huynh <github.com/icy>; Max Kuchin <[email protected]>; maltalex <github.com/maltalex>" | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.25-9656-rtm \ | ||
SHA256_SUM=c5a1791d69dc6d1c53fb574a3ce709707338520be797acbeac0a631c96c68330 | ||
ENV BUILD_VERSION=4.27-9668-beta \ | ||
SHA256_SUM=85cf84202e09b9efb1948929e99a08041152d7cb812a5761db200b7cd560e573 | ||
|
||
RUN wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v${BUILD_VERSION}.tar.gz \ | ||
&& echo "${SHA256_SUM} v${BUILD_VERSION}.tar.gz" | sha256sum -c \ | ||
|
@@ -23,19 +23,17 @@ RUN apt-get update \ | |
libncurses5-dev \ | ||
libreadline7 \ | ||
libreadline-dev \ | ||
libssl1.1 \ | ||
libssl-dev \ | ||
wget \ | ||
zlib1g \ | ||
zlib1g-dev \ | ||
zip \ | ||
&& wget http://http.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.0h-2_amd64.deb \ | ||
&& wget http://http.us.debian.org/debian/pool/main/o/openssl/libssl-dev_1.1.0h-2_amd64.deb \ | ||
&& dpkg -i /libssl1.1_1.1.0h-2_amd64.deb /libssl-dev_1.1.0h-2_amd64.deb \ | ||
&& apt-get install -f \ | ||
&& cd /usr/local/src/SoftEtherVPN_Stable-* \ | ||
&& ./configure \ | ||
&& make \ | ||
&& make install \ | ||
&& zip -r9 /artifacts.zip /usr/vpn* /usr/bin/vpn* /libssl1.1_1.1.0h-2_amd64.deb | ||
&& zip -r9 /artifacts.zip /usr/vpn* /usr/bin/vpn* | ||
|
||
FROM debian:9-slim | ||
|
||
|
@@ -47,15 +45,14 @@ RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | ||
libncurses5 \ | ||
libreadline7 \ | ||
libssl1.1 \ | ||
iptables \ | ||
unzip \ | ||
zlib1g \ | ||
&& unzip -o /artifacts.zip -d / \ | ||
&& dpkg -i /libssl1.1_1.1.0h-2_amd64.deb \ | ||
&& apt-get install -f \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& chmod +x /entrypoint.sh /gencert.sh \ | ||
&& rm /artifacts.zip /libssl1.1_1.1.0h-2_amd64.deb \ | ||
&& rm /artifacts.zip \ | ||
&& rm -rf /opt \ | ||
&& ln -s /usr/vpnserver /opt \ | ||
&& find /usr/bin/vpn* -type f ! -name vpnserver \ | ||
|
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
FROM alpine:3.7 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.27-9668-beta \ | ||
SHA256_SUM=85cf84202e09b9efb1948929e99a08041152d7cb812a5761db200b7cd560e573 | ||
|
||
RUN wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v${BUILD_VERSION}.tar.gz \ | ||
&& echo "${SHA256_SUM} v${BUILD_VERSION}.tar.gz" | sha256sum -c \ | ||
&& mkdir -p /usr/local/src \ | ||
&& tar -x -C /usr/local/src/ -f v${BUILD_VERSION}.tar.gz \ | ||
&& rm v${BUILD_VERSION}.tar.gz | ||
|
||
FROM ubuntu:18.04 as build | ||
|
||
COPY --from=prep /usr/local/src /usr/local/src | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
libncurses5 \ | ||
libncurses5-dev \ | ||
libreadline7 \ | ||
libreadline-dev \ | ||
libssl1.1 \ | ||
libssl-dev \ | ||
wget \ | ||
zlib1g \ | ||
zlib1g-dev \ | ||
zip \ | ||
&& cd /usr/local/src/SoftEtherVPN_Stable-* \ | ||
&& ./configure \ | ||
&& make \ | ||
&& make install \ | ||
&& zip -r9 /artifacts.zip /usr/vpn* /usr/bin/vpn* | ||
|
||
FROM ubuntu:18.04 | ||
|
||
COPY --from=build /artifacts.zip / | ||
|
||
COPY copyables / | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
libncurses5 \ | ||
libreadline7 \ | ||
libssl1.1 \ | ||
iptables \ | ||
unzip \ | ||
zlib1g \ | ||
&& unzip -o /artifacts.zip -d / \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& chmod +x /entrypoint.sh /gencert.sh \ | ||
&& rm /artifacts.zip \ | ||
&& rm -rf /opt \ | ||
&& ln -s /usr/vpnserver /opt \ | ||
&& find /usr/bin/vpn* -type f ! -name vpnserver \ | ||
-exec bash -c 'ln -s {} /opt/$(basename {})' \; | ||
|
||
WORKDIR /usr/vpnserver/ | ||
|
||
VOLUME ["/usr/vpnserver/server_log/"] | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
|
||
EXPOSE 500/udp 4500/udp 1701/tcp 1194/udp 5555/tcp 443/tcp | ||
|
||
CMD ["/usr/bin/vpnserver", "execsvc"] |
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