Wireguard initial setup
This commit is contained in:
parent
15383a8418
commit
d5b35cdbef
3 changed files with 38 additions and 0 deletions
21
wireguard/Dockerfile
Normal file
21
wireguard/Dockerfile
Normal 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" ]
|
Loading…
Add table
Add a link
Reference in a new issue