Skip to content

Commit

Permalink
Update to Go 1.16
Browse files Browse the repository at this point in the history
Fixes build failing due to goconvey dependency change
  • Loading branch information
szh committed Nov 1, 2021
1 parent 47d06d4 commit bea1f4e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15-buster as secretless-builder
FROM golang:1.16-buster as secretless-builder
MAINTAINER CyberArk Software Ltd.
LABEL builder="secretless-builder"

Expand All @@ -23,6 +23,7 @@ ENV GOOS=linux \
COPY go.mod go.sum /secretless/
COPY third_party/ /secretless/third_party

RUN go env -w GOFLAGS=-mod=mod
RUN go mod download

# secretless source files
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15-buster as secretless-builder
FROM golang:1.16-buster as secretless-builder
MAINTAINER CyberArk Software Ltd.
LABEL builder="secretless-builder"

Expand All @@ -23,6 +23,7 @@ ENV GOOS=linux \
COPY go.mod go.sum /secretless/
COPY third_party/ /secretless/third_party

RUN go env -w GOFLAGS=-mod=mod
RUN go mod download

# Compile Delve (for debugging)
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15-buster
FROM golang:1.16-buster
MAINTAINER CyberArk Software Ltd.

# On CyberArk dev laptops, golang module dependencies are downloaded with a
Expand Down Expand Up @@ -53,6 +53,7 @@ RUN go get -u github.com/jstemmer/go-junit-report && \
COPY go.mod go.sum /secretless/
COPY third_party/ /secretless/third_party

RUN go env -w GOFLAGS=-mod=mod
RUN go mod download

# TODO: all the stuff below this line is not needed
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15-alpine
FROM golang:1.16-alpine
MAINTAINER CyberArk Software Ltd.
LABEL id="secretless-test-runner"

Expand All @@ -24,6 +24,7 @@ RUN apk add -u curl \
COPY go.mod go.sum /secretless/
COPY third_party/ /secretless/third_party

RUN go env -w GOFLAGS=-mod=mod
RUN go mod download

# go-junit-report => Convert go test output to junit xml
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ replace github.com/denisenkom/go-mssqldb => ./third_party/go-mssqldb
// This is our fix:
replace honnef.co/go/tools => github.com/dominikh/go-tools v0.0.1-2019.2.3

go 1.15
go 1.16
2 changes: 1 addition & 1 deletion third_party/go-mssqldb
Submodule go-mssqldb updated 5 files
+2 −2 go.mod
+2 −178 go.sum
+9 −9 net.go
+167 −0 net_go116_test.go
+13 −0 queries_test.go

0 comments on commit bea1f4e

Please sign in to comment.