From 3706255e9fc9ee9506f8a3579ef0a893309a6f86 Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Wed, 13 Oct 2021 11:33:11 -0700 Subject: [PATCH] docker: only add tailscale and tailscaled binaries Signed-off-by: Maisem Ali --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5ab19183f..13f155a50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,7 +59,7 @@ RUN go install -tags=xversion -ldflags="\ -X tailscale.com/version.Long=$VERSION_LONG \ -X tailscale.com/version.Short=$VERSION_SHORT \ -X tailscale.com/version.GitCommit=$VERSION_GIT_HASH" \ - -v ./cmd/... + -v ./cmd/tailscale ./cmd/tailscaled FROM alpine:3.14 RUN apk add --no-cache ca-certificates iptables iproute2