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:
co-authored by
Marcus Efraimsson
parent
05e5b67a99
commit
8e2ee0a1c8
@@ -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
|
||||
|
||||
@@ -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]}")
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
FROM debian:testing-20210111-slim
|
||||
|
||||
# Use ARG so as not to persist environment variable in image
|
||||
ARG GOVERSION=1.16.1 \
|
||||
GO_CHECKSUM=3edc22f8332231c3ba8be246f184b736b8d28f06ce24f08168d8ecf052549769 \
|
||||
ARG GOVERSION=1.17 \
|
||||
GO_CHECKSUM=6bf89fc4f5ad763871cf7eac80a2d594492de7a818303283f1366a7f6a30372d \
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ENV PATH=/usr/local/go/bin:$PATH \
|
||||
|
||||
Reference in New Issue
Block a user