Skip to content
Snippets Groups Projects
Verified Commit 7140c84d authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct issues with entrypoint

parent 613ca27b
No related branches found
No related tags found
No related merge requests found
Pipeline #2877 passed
......@@ -80,4 +80,4 @@ COPY entrypoint.sh /entrypoint.sh
VOLUME ["/data"]
VOLUME ["/tmp"]
CMD ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
FROM alpine:3.15
COPY entrypoint.sh /entrypoint.sh
CMD ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
#!/bin/bash
set -euo pipefail
#!/bin/sh
set -eu
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
......
......@@ -11,4 +11,4 @@ RUN ln -s /sbin/iptables-nft /sbin/iptables
COPY entrypoint.sh /entrypoint.sh
VOLUME ["/wireguard.conf"]
CMD ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment