This repository was archived by the owner on Feb 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
tests/golang-build-container Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.15.7 -buster AS golang-base
2- ENV GOLANGCI_LINT_VERSION v1.31 .0
1+ FROM golang:1.16.0 -buster AS golang-base
2+ ENV GOLANGCI_LINT_VERSION v1.36 .0
33ENV GOTESTSUM_VERSION 0.4.2
44ENV PACKR2_VERSION 2.6.0
5- ENV GOBETA=go1.16rc1
65
76# npm install crashes with default buster npm, use current stable instead
87RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
@@ -44,7 +43,6 @@ ENV GOTOOLSTOBUILD \
4443 github.com/tsenart/deadcode \
4544 github.com/walle/lll \
4645 golang.org/x/tools/cmd/goimports \
47- golang.org/dl/${GOBETA} \
4846 honnef.co/go/tools/cmd/staticcheck \
4947 github.com/client9/misspell/cmd/misspell
5048
@@ -55,8 +53,6 @@ RUN for item in $GOTOOLSTOBUILD; do \
5553 go get -u $item; \
5654done
5755
58- RUN ${GOBETA} download && ln -s /go/bin/${GOBETA} /go/bin/go1.16 && cp -r ~/sdk /sdk
59-
6056# /go/bin will be mounted on top, so get everything into /usr/local/bin
6157RUN cp -r /go/bin/* /usr/local/bin
6258
Original file line number Diff line number Diff line change @@ -4,4 +4,3 @@ set -eu -o pipefail
44containerspec=$1
55
66docker run --rm " ${containerspec} " go version
7- docker run --rm " ${containerspec} " go1.16 version
You can’t perform that action at this time.
0 commit comments