docker: only add tailscale and tailscaled binaries

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali 2021-10-13 11:33:11 -07:00
parent b0f4f3161f
commit 3706255e9f

View File

@ -59,7 +59,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