Wireguard initial setup

This commit is contained in:
Maciej Lebiest 2023-08-01 16:28:44 +02:00
parent 15383a8418
commit d5b35cdbef
3 changed files with 38 additions and 0 deletions

21
wireguard/Dockerfile Normal file
View file

@ -0,0 +1,21 @@
FROM registry.fedoraproject.org/fedora:38
ENV PKGS="\
wireguard-tools \
nftables \
bash-completion \
procps \
iproute"
COPY entrypoint.sh /usr/bin/
# install system dependencies
RUN dnf install -y \
${PKGS} \
&& dnf clean all &&\
chmod +x /usr/bin/entrypoint.sh
STOPSIGNAL SIGALRM
ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]