forked from MonolithProjects/docker-tailscale-up
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
17 lines (12 loc) · 734 Bytes
/
Dockerfile
File metadata and controls
17 lines (12 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ARG TAILSCALE_RELEASE=latest
FROM tailscale/tailscale:$TAILSCALE_RELEASE
WORKDIR /
LABEL org.opencontainers.image.authors="Michal Muransky <mike.muransky@gmail.com>"
LABEL org.opencontainers.image.url="https://github.com/monolithprojects/docker-tailscale-up"
LABEL org.opencontainers.image.documentation="https://github.com/monolithprojects/docker-tailscale-up"
LABEL org.opencontainers.image.source="https://github.com/monolithprojects/docker-tailscale-up"
LABEL org.opencontainers.image.title="monolithprojects/tailscale-up"
LABEL org.opencontainers.image.description="Tailscale is Wireguard made easy"
COPY ./tailscale.sh .
HEALTHCHECK --interval=30s --timeout=2s CMD tailscale ip > /dev/null || exit 1
CMD ["./tailscale.sh"]