grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Update the Dockerfile to build with golang 1.17
2022-03-07, Gary Kramlich
61b4f876b057
Parents
09d54726d3f1
Children
c47e4554fa47
Update the Dockerfile to build with golang 1.17
1 files changed, 2 insertions(+), 4 deletions(-)
+2
-4
Dockerfile
--- a/Dockerfile Mon Mar 07 02:22:45 2022 -0600
+++ b/Dockerfile Mon Mar 07 02:26:05 2022 -0600
@@ -1,12 +1,10 @@
-FROM docker.io/golang:1.15-buster as build
+FROM docker.io/golang:1.17-bullseye as build
WORKDIR /root
COPY . .
-RUN go get -u github.com/mjibson/esc && \
- go generate ./... && \
- CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static" -s' .
+RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static" -s' .
FROM debian:bullseye-slim