Chore: Update to Golang 1.17 (#38608)

* Update to golang 1.17

* Further updates

* Run go mod tidy on go 1.17

* Apply suggestions from code review

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Use build-container:1.4.2

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
Dimitris Sotirakis
2021-08-31 09:19:26 +03:00
committed by GitHub
parent 05e5b67a99
commit 8e2ee0a1c8
15 changed files with 642 additions and 320 deletions

View File

@@ -100,10 +100,10 @@ RUN tar xf cue_${CUE_VERSION}_Linux_x86_64.tar.gz -C /tmp cue
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
FROM debian:stretch-20210208
ENV GOVERSION=1.16.1 \
ENV GOVERSION=1.17 \
PATH=/usr/local/go/bin:$PATH \
GOPATH=/go \
NODEVERSION=14.16.0-1nodesource1 \
NODEVERSION=14.17.5-1nodesource1 \
YARNVERSION=1.22.5-1
# Use ARG so as not to persist environment variable in image

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -eo pipefail
_version="1.4.1"
_version="1.4.2"
_tag="grafana/build-container:${_version}"
_dpath=$(dirname "${BASH_SOURCE[0]}")