Add Dockerfile
This commit is contained in:
parent
c1a9694d60
commit
43531c2a80
|
@ -0,0 +1,13 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache wireguard-tools iptables curl
|
||||
|
||||
COPY setup-wireguard.sh /usr/local/bin/setup-wireguard.sh
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/setup-wireguard.sh \
|
||||
&& chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
RUN /usr/local/bin/setup-wireguard.sh
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
Loading…
Reference in New Issue