Remove CI/CD related files
This commit is contained in:
parent
3a4aff27bc
commit
22290db3bb
32
Dockerfile
32
Dockerfile
@ -1,32 +0,0 @@
|
||||
ARG base_image=ubuntu:20.04
|
||||
FROM $base_image as build
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV LC_ALL C.UTF-8
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Make apt faster
|
||||
RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup \
|
||||
&& echo "Dpkg::Use-Pty=0;" > /etc/apt/apt.conf.d/99quieter
|
||||
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -y -qq \
|
||||
python3-pip \
|
||||
openvpn \
|
||||
strongswan \
|
||||
libcharon-extra-plugins
|
||||
|
||||
# Dump on console what modules StrongSwan attempts to load
|
||||
RUN echo '#!/bin/bash' > /usr/sbin/modprobe \
|
||||
&& echo 'echo Attempting to load modules: $@' >> /usr/sbin/modprobe \
|
||||
&& 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
|
||||
COPY setup.py /src/
|
||||
COPY README.md /src/
|
||||
COPY misc/ /src/misc/
|
||||
WORKDIR /src
|
||||
RUN pip3 install . \
|
||||
&& echo "#!/bin/sh" > /usr/bin/chcon \
|
||||
&& chmod +x /usr/bin/chcon
|
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
sleep 10
|
||||
$@
|
||||
AUTHORITY=$3
|
||||
test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem
|
||||
openvpn --config /etc/openvpn/$AUTHORITY.conf
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
sleep 10
|
||||
$@
|
||||
AUTHORITY=$3
|
||||
test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem
|
||||
/usr/sbin/ipsec stop
|
||||
/usr/sbin/ipsec start --nofork
|
Loading…
Reference in New Issue
Block a user