parent
a4a1944d35
commit
7502838d2e
|
|
@ -1,7 +1,7 @@
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# The base image for building the k9s binary
|
# 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
|
WORKDIR /k9s
|
||||||
COPY go.mod go.sum main.go Makefile ./
|
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
|
# Build the final Docker image
|
||||||
|
|
||||||
FROM alpine:3.12.0
|
FROM alpine:3.13.0
|
||||||
ARG KUBECTL_VERSION="v1.18.2"
|
ARG KUBECTL_VERSION="v1.18.2"
|
||||||
|
|
||||||
COPY --from=build /k9s/execs/k9s /bin/k9s
|
COPY --from=build /k9s/execs/k9s /bin/k9s
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue