own wireguard
Build and Push Docker Images / build-and-push (push) Successful in 1m28s

This commit is contained in:
2026-05-05 21:02:00 +02:00
parent d96ea7ce29
commit 1180e9e1b0
7 changed files with 532 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM debian:bookworm-slim
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
iproute2 \
iptables \
jq \
procps \
wireguard-tools \
&& rm -rf /var/lib/apt/lists/*
COPY ca.rsa.4096.crt /opt/pia/ca.rsa.4096.crt
COPY pia.sh /usr/local/lib/pia.sh
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod 0644 /opt/pia/ca.rsa.4096.crt \
&& chmod 0755 /usr/local/lib/pia.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]