disable systemd in configure

This commit is contained in:
lawtancool 2019-06-21 19:06:59 -07:00 committed by GitHub
parent 19b4021f3e
commit 095a9a11a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ LABEL maintainer="Kyle Manna <kyle@kylemanna.com>"
# ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
# rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev libsystemd-daemon-dev pkg-config && \
RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-dev iproute2 liblz4-dev liblzo2-dev libpam0g-dev libpkcs11-helper1-dev libsystemd-dev pkg-config && \
wget http://swupdate.openvpn.org/community/releases/openvpn-2.4.7.tar.gz && tar xvf openvpn-2.4.7.tar.gz && \
wget https://github.com/Tunnelblick/Tunnelblick/archive/master.zip && unzip master.zip && \
cp Tunnelblick-master/third_party/sources/openvpn/openvpn-2.4.7/patches/*.diff openvpn-2.4.7 && \
@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y wget tar unzip build-essential libssl-d
patch -p1 < 04-tunnelblick-openvpn_xorpatch-c.diff && \
patch -p1 < 05-tunnelblick-openvpn_xorpatch-d.diff && \
patch -p1 < 06-tunnelblick-openvpn_xorpatch-e.diff && \
./configure --enable-systemd --enable-async-push --enable-iproute2 && \
./configure --disable-systemd --enable-async-push --enable-iproute2 && \
make && make install