From 658b6815872365404a5770af5ceab8af91e877f7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 08:43:08 +0000 Subject: [PATCH 1/2] chore(deps): update registry.suse.com/bci/golang docker tag to v1.23 --- Dockerfile.dapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 753e034..7f7ac72 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -1,4 +1,4 @@ -FROM registry.suse.com/bci/golang:1.22 +FROM registry.suse.com/bci/golang:1.23 ARG DAPPER_HOST_ARCH ARG http_proxy From 5c20bc8293e13464dcbb0f57943f9b7d34876e01 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Sat, 7 Sep 2024 13:20:02 +0000 Subject: [PATCH 2/2] chore(dockerfile): update golangci-lint to v1.60.3 Signed-off-by: Derek Su --- Dockerfile.dapper | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 7f7ac72..bf0a2d2 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -12,6 +12,9 @@ ENV DAPPER_ENV TAG REPO DRONE_REPO DRONE_PULL_REQUEST DRONE_COMMIT_REF ENV DAPPER_OUTPUT bin coverage.out ENV DAPPER_RUN_ARGS --privileged -v /dev:/host/dev -v /proc:/host/proc -v /sys:/host/sys ENV DAPPER_SOURCE /go/src/github.com/longhorn/go-spdk-helper + +ENV GOLANGCI_LINT_VERSION="v1.60.3" + WORKDIR ${DAPPER_SOURCE} ENV SPDK_COMMIT_ID a6478cde7e0cff2fb09992868308a7387aa5202a @@ -32,7 +35,7 @@ RUN zypper -n install cmake wget unzip xsltproc docbook-xsl-stylesheets python31 # Install Go & tools ENV GOLANG_ARCH_amd64=amd64 GOLANG_ARCH_arm64=arm64 GOLANG_ARCH=GOLANG_ARCH_${ARCH} \ GOPATH=/go PATH=/go/bin:/usr/local/go/bin:${PATH} SHELL=/bin/bash -RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2 +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION} RUN ln -sf /usr/bin/python3.11 /usr/bin/python3 & \ ln -sf /usr/bin/pip3.11 /usr/bin/pip3