-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
17 lines (15 loc) · 908 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# ------------------------------------------------------------------------------------------
# Start from TailScale container.
# ------------------------------------------------------------------------------------------
FROM tailscale/tailscale:v1.42.0 as build
COPY scripts/tailscale.sh /tmp
# ------------------------------------------------------------------------------------------
# Copy tailscale to alpine bash to customize startup
# ------------------------------------------------------------------------------------------
FROM bash:5.1.16-alpine3.15
COPY --from=build /usr/local/bin/tailscale /usr/local/bin/tailscale
COPY --from=build /usr/local/bin/tailscaled /usr/local/bin/tailscaled
COPY --from=build /tmp/tailscale.sh /usr/local/bin/tailscale.sh
# COPY --from=build /go/src/app/scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
EXPOSE 8080
ENTRYPOINT ["docker-entrypoint.sh"]