diff --git a/test/license-test/Dockerfile b/test/license-test/Dockerfile index 3d237306..b9f01d0b 100644 --- a/test/license-test/Dockerfile +++ b/test/license-test/Dockerfile @@ -1,9 +1,9 @@ -FROM golang:1 +FROM golang:1.16 WORKDIR /app COPY license-config.hcl . ARG GOPROXY="https://proxy.golang.org,direct" -RUN GO111MODULE=on go get github.com/mitchellh/golicense +RUN GO111MODULE=on go install github.com/mitchellh/golicense@v0.2.0 CMD $GOPATH/bin/golicense diff --git a/test/license-test/gen-license-report.sh b/test/license-test/gen-license-report.sh index 0d139fc9..27a88aaf 100755 --- a/test/license-test/gen-license-report.sh +++ b/test/license-test/gen-license-report.sh @@ -7,7 +7,7 @@ mkdir -p $BUILD_DIR GOBIN=$(go env GOPATH | sed 's+:+/bin+g')/bin export PATH="$PATH:$GOBIN" -go get github.com/mitchellh/golicense +go install github.com/mitchellh/golicense@v0.2.0 go build -o $BUILD_DIR/nth $SCRIPTPATH/../../. golicense -out-xlsx=$BUILD_DIR/report.xlsx $SCRIPTPATH/license-config.hcl $BUILD_DIR/nth diff --git a/test/readme-test/spellcheck-Dockerfile b/test/readme-test/spellcheck-Dockerfile index cbcb14c4..cd36641b 100644 --- a/test/readme-test/spellcheck-Dockerfile +++ b/test/readme-test/spellcheck-Dockerfile @@ -1,5 +1,5 @@ -FROM golang:1 +FROM golang:1.16 -RUN go get -u github.com/client9/misspell/cmd/misspell +RUN go install github.com/client9/misspell/cmd/misspell@v0.3.4 CMD [ "/go/bin/misspell" ] \ No newline at end of file diff --git a/test/webhook-test-proxy/Dockerfile b/test/webhook-test-proxy/Dockerfile index f707c0c4..e5699261 100644 --- a/test/webhook-test-proxy/Dockerfile +++ b/test/webhook-test-proxy/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1-alpine as builder +FROM golang:1.16-alpine as builder ## GOLANG env ARG GOPROXY="https://proxy.golang.org|direct"