diff --git a/Dockerfile b/Dockerfile index 3fa51e9..a1421d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,12 @@ RUN apt-get install -y -qq \ openvpn \ strongswan +# Dump on console what modules StrongSwan attempts to load +RUN echo '#!/bin/bash' > /usr/sbin/modprobe +RUN echo 'echo Attempting to load modules: $@' >> /usr/sbin/modprobe +RUN cat /usr/sbin/modprobe +RUN chmod +x /usr/sbin/modprobe + COPY entrypoint-openvpn.sh /entrypoint-openvpn.sh COPY entrypoint-strongswan.sh /entrypoint-strongswan.sh COPY pinecrypt/client/. /src/pinecrypt/client