Skip to content

Commit 2d20181

Browse files
Merge pull request #373 from kevinrizza/go-1.14
(fix) Update to go 1.14
2 parents af51ac0 + 4833ba4 commit 2d20181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openshift/origin-release:golang-1.13 as builder
1+
FROM openshift/origin-release:golang-1.14 as builder
22

33
RUN yum update -y && \
44
yum install -y make git sqlite glibc-static openssl-static zlib-static && \
@@ -22,7 +22,7 @@ RUN mkdir -p /go/src/github.com/grpc-ecosystem && \
2222
cp -R vendor/ /go/src/github.com/grpc-ecosystem/grpc_health_probe && \
2323
rm -rf /go/src/github.com/grpc-ecosystem/grpc_health_probe/vendor/github.com/grpc-ecosystem/grpc-health-probe && \
2424
cd /go/src/github.com/grpc-ecosystem/grpc_health_probe && \
25-
CGO_ENABLED=0 go install -a -tags netgo -ldflags "-w"
25+
CGO_ENABLED=0 go install -mod=mod -a -tags netgo -ldflags "-w"
2626

2727
FROM openshift/origin-base
2828

0 commit comments

Comments
 (0)