Dockerfile: use alpine:3.14

golang:1.16-alpine has updated to Alpine 3.14,
update the system image to match.

Reported by @kubeworm
https://twitter.com/kubeworm/status/1426751941519020033

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry 2021-08-14 20:53:56 -07:00 committed by Denton Gentry
parent 3e7ff5ff98
commit 98d557dd24

View File

@ -61,6 +61,6 @@ RUN go install -tags=xversion -ldflags="\
-X tailscale.com/version.GitCommit=$VERSION_GIT_HASH" \ -X tailscale.com/version.GitCommit=$VERSION_GIT_HASH" \
-v ./cmd/... -v ./cmd/...
FROM alpine:3.11 FROM alpine:3.14
RUN apk add --no-cache ca-certificates iptables iproute2 RUN apk add --no-cache ca-certificates iptables iproute2
COPY --from=build-env /go/bin/* /usr/local/bin/ COPY --from=build-env /go/bin/* /usr/local/bin/