Skip to content

Commit dd49e85

Browse files
committed
fix(docker-go-dev): upgrade to golang1.4.6
1 parent 93b9440 commit dd49e85

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

rootfs/Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ RUN \
5252
&& chmod +x /usr/local/bin/shellcheck \
5353
&& rm -rf shellcheck-${SHELLCHECK_VERSION} shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar \
5454
&& curl -L https://storage.googleapis.com/golang/go$GO_VERSION.linux-amd64.tar.gz | tar -C /usr/local -xz \
55-
&& curl -L https://storage.googleapis.com/k8s-claimer/git-e4dcc16/k8s-claimer-git-e4dcc16-linux-amd64 -o /usr/local/bin/k8s-claimer \
56-
&& chmod +x /usr/local/bin/k8s-claimer \
5755
&& curl -sSL https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
5856
&& chmod +x /usr/local/bin/kubectl \
5957
&& mkdir -p /go/bin \
@@ -66,21 +64,12 @@ RUN \
6664
&& tar -C /tmp -xvzf /tmp/etcd-$ETCDCTL_VERSION.tar.gz --strip-components=1 etcd-$ETCDCTL_VERSION-linux-amd64/etcdctl \
6765
&& mv /tmp/etcdctl /usr/local/bin/etcdctl \
6866
&& rm /tmp/etcd-$ETCDCTL_VERSION.tar.gz \
67+
&& go env -w GO111MODULE=on \
68+
&& go env -w GOPROXY=https://goproxy.cn,direct \
6969
&& go get -u -v \
7070
github.com/AlekSi/gocov-xml \
7171
github.com/axw/gocov/gocov \
72-
github.com/constabulary/gb/... \
73-
github.com/derekparker/delve/cmd/dlv \
74-
github.com/dgrijalva/jwt-go/cmd/jwt \
75-
github.com/golang/protobuf/protoc-gen-go \
76-
github.com/haya14busa/goverage \
77-
github.com/jteeuwen/go-bindata/... \
7872
github.com/mitchellh/gox \
79-
github.com/onsi/ginkgo/ginkgo \
80-
github.com/hashicorp/packer \
81-
gopkg.in/alecthomas/gometalinter.v2 \
82-
&& ln -s ${GOPATH}/bin/gometalinter.v2 ${GOPATH}/bin/gometalinter \
83-
&& gometalinter.v2 --install \
8473
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin $GOLANGCI_LINT_VERSION \
8574
&& pip3 install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
8675
&& apt-get purge --auto-remove -y libffi-dev python3-dev python3-pip \

0 commit comments

Comments
 (0)