delete unnessesary source files from image
This commit is contained in:
parent
ec5ae54e21
commit
ecbecd6c3b
@ -22,7 +22,8 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
|
|||||||
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
|
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
|
||||||
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
||||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||||
make && make install
|
make && make install && \
|
||||||
|
cd .. && rm -r openvpn-2.4.8 && rm -r Tunnelblick-3.8.2beta02
|
||||||
|
|
||||||
# Needed by scripts
|
# Needed by scripts
|
||||||
ENV OPENVPN /etc/openvpn
|
ENV OPENVPN /etc/openvpn
|
||||||
@ -35,7 +36,7 @@ ENV EASYRSA_CRL_DAYS 3650
|
|||||||
|
|
||||||
VOLUME ["/etc/openvpn"]
|
VOLUME ["/etc/openvpn"]
|
||||||
|
|
||||||
# Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`
|
# Internally uses port 1194, remap if needed using `docker run -p 443:1194/tcp`
|
||||||
EXPOSE 1194
|
EXPOSE 1194
|
||||||
|
|
||||||
CMD ["ovpn_run"]
|
CMD ["ovpn_run"]
|
||||||
|
@ -24,7 +24,8 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
|
|||||||
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
|
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
|
||||||
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
||||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||||
make && make install
|
make && make install && \
|
||||||
|
cd .. && rm -r openvpn-2.4.8 && rm -r Tunnelblick-3.8.2beta02
|
||||||
|
|
||||||
# Needed by scripts
|
# Needed by scripts
|
||||||
ENV OPENVPN /etc/openvpn
|
ENV OPENVPN /etc/openvpn
|
||||||
@ -37,7 +38,7 @@ ENV EASYRSA_CRL_DAYS 3650
|
|||||||
|
|
||||||
VOLUME ["/etc/openvpn"]
|
VOLUME ["/etc/openvpn"]
|
||||||
|
|
||||||
# Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`
|
# Internally uses port 1194, remap if needed using `docker run -p 443:1194/tcp`
|
||||||
EXPOSE 1194
|
EXPOSE 1194
|
||||||
|
|
||||||
CMD ["ovpn_run"]
|
CMD ["ovpn_run"]
|
||||||
|
@ -24,7 +24,8 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
|
|||||||
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
|
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
|
||||||
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
|
||||||
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
|
||||||
make && make install
|
make && make install && \
|
||||||
|
cd .. && rm -r openvpn-2.4.8 && rm -r Tunnelblick-3.8.2beta02
|
||||||
|
|
||||||
# Needed by scripts
|
# Needed by scripts
|
||||||
ENV OPENVPN /etc/openvpn
|
ENV OPENVPN /etc/openvpn
|
||||||
@ -37,7 +38,7 @@ ENV EASYRSA_CRL_DAYS 3650
|
|||||||
|
|
||||||
VOLUME ["/etc/openvpn"]
|
VOLUME ["/etc/openvpn"]
|
||||||
|
|
||||||
# Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`
|
# Internally uses port 1194, remap if needed using `docker run -p 443:1194/tcp`
|
||||||
EXPOSE 1194
|
EXPOSE 1194
|
||||||
|
|
||||||
CMD ["ovpn_run"]
|
CMD ["ovpn_run"]
|
||||||
|
Loading…
Reference in New Issue
Block a user