update dockerfile to use go1.16 (#1049)

Signed-off-by: Rui Chen <rui@chenrui.dev>
mine
rui 2021-03-20 16:06:20 -04:00 committed by GitHub
parent a4a1944d35
commit 7502838d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -----------------------------------------------------------------------------
# The base image for building the k9s binary
FROM golang:1.15.2-alpine3.12 AS build
FROM golang:1.16.2-alpine3.13 AS build
WORKDIR /k9s
COPY go.mod go.sum main.go Makefile ./
@ -12,7 +12,7 @@ RUN apk --no-cache add make git gcc libc-dev curl && make build
# -----------------------------------------------------------------------------
# Build the final Docker image
FROM alpine:3.12.0
FROM alpine:3.13.0
ARG KUBECTL_VERSION="v1.18.2"
COPY --from=build /k9s/execs/k9s /bin/k9s