mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Upgrade Docker build image wrt. Go/golangci-lint/Node (#30077)
* ci-build: Upgrade base image, Go, Node, golangci-lint Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Drone: Upgrade build image Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Drone: Upgrade plugin build image Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
|
||||
FROM debian:stretch-20201012-slim AS toolchain
|
||||
FROM debian:stretch-20201209 AS toolchain
|
||||
|
||||
ENV OSX_MIN=10.10 \
|
||||
CTNG=1.24.0 \
|
||||
@@ -73,8 +73,8 @@ RUN cd /tmp && \
|
||||
rm -rf /tmp/x86_64-centos6-linux-gnu/ && \
|
||||
rm -rf /tmp/crosstool-ng-${CTNG}
|
||||
|
||||
ARG GOLANGCILINT_VERSION=1.33.0
|
||||
ARG GOLANGCILINT_CHKSUM=e2d6082f1df53c5d2c280765000f9e82783ea909ba419c6c4e172936b076031e
|
||||
ARG GOLANGCILINT_VERSION=1.34.1
|
||||
ARG GOLANGCILINT_CHKSUM=23e4a9d8f89729007c6d749c245f725c2dbcfb194f4099003f9b826f1d386ad1
|
||||
|
||||
RUN curl -fLO https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCILINT_VERSION}/golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64.tar.gz
|
||||
RUN echo ${GOLANGCILINT_CHKSUM} golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64.tar.gz | sha256sum --check --strict --status
|
||||
@@ -95,12 +95,12 @@ RUN tar xf cue_${CUE_VERSION}_Linux_x86_64.tar.gz -C /tmp cue
|
||||
|
||||
# Base image to crossbuild grafana.
|
||||
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
|
||||
FROM debian:stretch-20201012
|
||||
FROM debian:stretch-20201209
|
||||
|
||||
ENV GOVERSION=1.15.5 \
|
||||
ENV GOVERSION=1.15.6 \
|
||||
PATH=/usr/local/go/bin:$PATH \
|
||||
GOPATH=/go \
|
||||
NODEVERSION=14.15.1-1nodesource1 \
|
||||
NODEVERSION=14.15.4-1nodesource1 \
|
||||
YARNVERSION=1.22.5-1 \
|
||||
GO111MODULE=on
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -eo pipefail
|
||||
|
||||
_version="1.3.0"
|
||||
_version="1.3.1"
|
||||
_tag="grafana/build-container:${_version}"
|
||||
|
||||
_dpath=$(dirname "${BASH_SOURCE[0]}")
|
||||
|
||||
Reference in New Issue
Block a user