Remove OpenVPN and StrongSwan from this image

This commit is contained in:
Lauri Võsandi 2021-06-03 20:06:29 +03:00
parent 913af81163
commit 2adb9aaea3
2 changed files with 1 additions and 48 deletions

View File

@ -10,15 +10,13 @@ RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup \
bash build-essential python3-dev cython3 libffi-dev libssl-dev \ bash build-essential python3-dev cython3 libffi-dev libssl-dev \
libkrb5-dev ldap-utils libsasl2-modules-gssapi-mit libsasl2-dev libldap2-dev \ libkrb5-dev ldap-utils libsasl2-modules-gssapi-mit libsasl2-dev libldap2-dev \
python python3-pip python3-cffi iptables ipset \ python python3-pip python3-cffi iptables ipset \
strongswan libstrongswan-extra-plugins libcharon-extra-plugins \ libncurses5-dev gawk wget unzip git rsync \
openvpn libncurses5-dev gawk wget unzip git rsync \
&& apt-get clean \ && apt-get clean \
&& rm /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && rm /etc/dpkg/dpkg.cfg.d/docker-apt-speedup
WORKDIR /src WORKDIR /src
COPY requirements.txt /src/ COPY requirements.txt /src/
RUN pip3 install --no-cache-dir -r requirements.txt RUN pip3 install --no-cache-dir -r requirements.txt
COPY config/strongswan.conf /etc/strongswan.conf
COPY pinecrypt/. /src/pinecrypt/ COPY pinecrypt/. /src/pinecrypt/
COPY MANIFEST.in setup.py README.md /src/ COPY MANIFEST.in setup.py README.md /src/
COPY misc/. /src/misc/ COPY misc/. /src/misc/

View File

@ -1,45 +0,0 @@
charon {
load_modular = yes
plugins {
include /etc/strongswan.d/charon/ccm.conf
include /etc/strongswan.d/charon/nonce.conf
include /etc/strongswan.d/charon/updown.conf
include /etc/strongswan.d/charon/pkcs11.conf
include /etc/strongswan.d/charon/connmark.conf
include /etc/strongswan.d/charon/pkcs1.conf
include /etc/strongswan.d/charon/constraints.conf
include /etc/strongswan.d/charon/revocation.conf
include /etc/strongswan.d/charon/openssl.conf
include /etc/strongswan.d/charon/aes.conf
include /etc/strongswan.d/charon/resolve.conf
include /etc/strongswan.d/charon/curve25519.conf
include /etc/strongswan.d/charon/gcm.conf
include /etc/strongswan.d/charon/random.conf
include /etc/strongswan.d/charon/pkcs7.conf
include /etc/strongswan.d/charon/af-alg.conf
include /etc/strongswan.d/charon/x509.conf
include /etc/strongswan.d/charon/rdrand.conf
include /etc/strongswan.d/charon/hmac.conf
include /etc/strongswan.d/charon/gmp.conf
include /etc/strongswan.d/charon/pubkey.conf
include /etc/strongswan.d/charon/ctr.conf
include /etc/strongswan.d/charon/certexpire.conf
include /etc/strongswan.d/charon/socket-default.conf
include /etc/strongswan.d/charon/lookip.conf
include /etc/strongswan.d/charon/mgf1.conf
include /etc/strongswan.d/charon/unity.conf
include /etc/strongswan.d/charon/sha2.conf
include /etc/strongswan.d/charon/stroke.conf
include /etc/strongswan.d/charon/aesni.conf
include /etc/strongswan.d/charon/agent.conf
include /etc/strongswan.d/charon/kernel-libipsec.conf
include /etc/strongswan.d/charon/curl.conf
include /etc/strongswan.d/charon/pkcs8.conf
include /etc/strongswan.d/charon/cmac.conf
include /etc/strongswan.d/charon/attr.conf
include /etc/strongswan.d/charon/error-notify.conf
include /etc/strongswan.d/charon/pem.conf
include /etc/strongswan.d/charon/pkcs12.conf
include /etc/strongswan.d/charon/kernel-netlink.conf
}
}