-
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.
Merge pull request #84 from siomiz/9745
MAINT(all): v4.34-9745-beta
- Loading branch information
Showing
6 changed files
with
33 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM alpine:3.9 as prep | ||
FROM alpine:3.12 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.29-9680-rtm \ | ||
SHA256_SUM=c19cd49835c613cb5551ce66c91f90da3d3496ab3e15e8c61e22b464dc55d9b0 | ||
ENV BUILD_VERSION=4.34-9745-beta \ | ||
SHA256_SUM=a2d7951f4fafcef96ab8341a948a8d09ca02030e4161c5e90a34882aa8b34224 | ||
|
||
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 centos:7 as build | ||
FROM centos:8 as build | ||
|
||
COPY --from=prep /usr/local/src /usr/local/src | ||
|
||
|
@@ -26,14 +26,14 @@ RUN yum -y update \ | |
&& touch /usr/vpnserver/vpn_server.config \ | ||
&& zip -r9 /artifacts.zip /usr/vpn* /usr/bin/vpn* | ||
|
||
FROM centos:7 | ||
FROM centos:8 | ||
|
||
COPY --from=build /artifacts.zip / | ||
|
||
COPY copyables / | ||
|
||
RUN yum -y update \ | ||
&& yum -y install unzip iptables sysvinit-tools \ | ||
&& yum -y install unzip iptables \ | ||
&& rm -rf /var/log/* /var/cache/yum/* /var/lib/yum/* \ | ||
&& chmod +x /entrypoint.sh /gencert.sh \ | ||
&& unzip -o /artifacts.zip -d / \ | ||
|
@@ -45,7 +45,7 @@ RUN yum -y update \ | |
|
||
WORKDIR /usr/vpnserver/ | ||
|
||
VOLUME ["/usr/vpnserver/server_log/"] | ||
VOLUME ["/usr/vpnserver/server_log/", "/usr/vpnserver/packet_log/", "/usr/vpnserver/security_log/"] | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
|
||
|
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,18 +1,18 @@ | ||
FROM alpine:3.9 as prep | ||
FROM alpine:3.12 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.29-9680-rtm \ | ||
SHA256_SUM=c19cd49835c613cb5551ce66c91f90da3d3496ab3e15e8c61e22b464dc55d9b0 | ||
ENV BUILD_VERSION=4.34-9745-beta \ | ||
SHA256_SUM=a2d7951f4fafcef96ab8341a948a8d09ca02030e4161c5e90a34882aa8b34224 | ||
|
||
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 alpine:3.9 as build | ||
FROM alpine:3.12 as build | ||
|
||
COPY --from=prep /usr/local/src /usr/local/src | ||
|
||
|
@@ -26,7 +26,7 @@ RUN apk add -U build-base ncurses-dev openssl-dev readline-dev zip zlib-dev \ | |
&& touch /usr/vpnserver/vpn_server.config \ | ||
&& zip -r9 /artifacts.zip /usr/vpn* /usr/bin/vpn* | ||
|
||
FROM alpine:3.9 | ||
FROM alpine:3.12 | ||
|
||
COPY --from=build /artifacts.zip / | ||
|
||
|
@@ -45,7 +45,7 @@ RUN apk add -U --no-cache bash iptables openssl-dev \ | |
|
||
WORKDIR /usr/vpnserver/ | ||
|
||
VOLUME ["/usr/vpnserver/server_log/"] | ||
VOLUME ["/usr/vpnserver/server_log/", "/usr/vpnserver/packet_log/", "/usr/vpnserver/security_log/"] | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
|
||
|
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.9 as prep | ||
FROM alpine:3.12 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.29-9680-rtm \ | ||
SHA256_SUM=c19cd49835c613cb5551ce66c91f90da3d3496ab3e15e8c61e22b464dc55d9b0 | ||
ENV BUILD_VERSION=4.34-9745-beta \ | ||
SHA256_SUM=a2d7951f4fafcef96ab8341a948a8d09ca02030e4161c5e90a34882aa8b34224 | ||
|
||
RUN wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v${BUILD_VERSION}.tar.gz \ | ||
&& echo "${SHA256_SUM} v${BUILD_VERSION}.tar.gz" | sha256sum -c \ | ||
|
@@ -61,7 +61,7 @@ RUN apt-get update \ | |
|
||
WORKDIR /usr/vpnserver/ | ||
|
||
VOLUME ["/usr/vpnserver/server_log/"] | ||
VOLUME ["/usr/vpnserver/server_log/", "/usr/vpnserver/packet_log/", "/usr/vpnserver/security_log/"] | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
|
||
|
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,18 +1,18 @@ | ||
FROM alpine:3.7 as prep | ||
FROM alpine:3.12 as prep | ||
|
||
LABEL maintainer="Tomohisa Kusano <[email protected]>" \ | ||
contributors="See CONTRIBUTORS file <https://github.com/siomiz/SoftEtherVPN/blob/master/CONTRIBUTORS>" | ||
|
||
ENV BUILD_VERSION=4.29-9680-rtm \ | ||
SHA256_SUM=c19cd49835c613cb5551ce66c91f90da3d3496ab3e15e8c61e22b464dc55d9b0 | ||
ENV BUILD_VERSION=4.34-9745-beta \ | ||
SHA256_SUM=a2d7951f4fafcef96ab8341a948a8d09ca02030e4161c5e90a34882aa8b34224 | ||
|
||
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 | ||
FROM ubuntu:20.04 as build | ||
|
||
COPY --from=prep /usr/local/src /usr/local/src | ||
|
||
|
@@ -21,7 +21,7 @@ RUN apt-get update \ | |
build-essential \ | ||
libncurses5 \ | ||
libncurses5-dev \ | ||
libreadline7 \ | ||
libreadline8 \ | ||
libreadline-dev \ | ||
libssl1.1 \ | ||
libssl-dev \ | ||
|
@@ -36,7 +36,7 @@ RUN apt-get update \ | |
&& touch /usr/vpnserver/vpn_server.config \ | ||
&& zip -r9 /artifacts.zip /usr/vpn* /usr/bin/vpn* | ||
|
||
FROM ubuntu:18.04 | ||
FROM ubuntu:20.04 | ||
|
||
COPY --from=build /artifacts.zip / | ||
|
||
|
@@ -45,7 +45,7 @@ COPY copyables / | |
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
libncurses5 \ | ||
libreadline7 \ | ||
libreadline8 \ | ||
libssl1.1 \ | ||
iptables \ | ||
unzip \ | ||
|
@@ -61,7 +61,7 @@ RUN apt-get update \ | |
|
||
WORKDIR /usr/vpnserver/ | ||
|
||
VOLUME ["/usr/vpnserver/server_log/"] | ||
VOLUME ["/usr/vpnserver/server_log/", "/usr/vpnserver/packet_log/", "/usr/vpnserver/security_log/"] | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
|
||
|
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