docker: only add tailscale and tailscaled binaries

Signed-off-by: Maisem Ali <maisem@tailscale.com>
pull/3070/head
Maisem Ali 3 years ago committed by Maisem Ali
parent 2c403cbb31
commit 061dab5d61

@ -53,7 +53,7 @@ RUN go install -tags=xversion -ldflags="\
-X tailscale.com/version.Long=$VERSION_LONG \ -X tailscale.com/version.Long=$VERSION_LONG \
-X tailscale.com/version.Short=$VERSION_SHORT \ -X tailscale.com/version.Short=$VERSION_SHORT \
-X tailscale.com/version.GitCommit=$VERSION_GIT_HASH" \ -X tailscale.com/version.GitCommit=$VERSION_GIT_HASH" \
-v ./cmd/... -v ./cmd/tailscale ./cmd/tailscaled
FROM alpine:3.14 FROM alpine:3.14
RUN apk add --no-cache ca-certificates iptables iproute2 RUN apk add --no-cache ca-certificates iptables iproute2

Loading…
Cancel
Save