This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 1edfad7 committed Sep 7, 2024 · 3 / 4
1 parent 9262179 commit 1edfad7 Copy full SHA for 1edfad7
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ ARG DAPPER_HOST_ARCH=amd64
4
4
ARG http_proxy
5
5
ARG https_proxy
6
6
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
7
+ ENV GOLANGCI_LINT_VERSION="v1.60.3"
7
8
8
9
RUN zypper -n addrepo --refresh https://download.opensuse.org/repositories/Base:System/openSUSE_Factory/Base:System.repo && \
9
10
zypper --gpg-auto-import-keys ref
@@ -14,7 +15,7 @@ RUN zypper -n install glibc glibc-static gcc ca-certificates git wget curl vim l
14
15
ENV GOLANG_ARCH_amd64=amd64 GOLANG_ARCH_arm64=arm64 GOLANG_ARCH=GOLANG_ARCH_${ARCH} \
15
16
GOPATH=/go PATH=/go/bin:/usr/local/go/bin:${PATH} SHELL=/bin/bash
16
17
17
- RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
18
+ RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
18
19
19
20
ENV DAPPER_SOURCE /go/src/github.com/longhorn/sparse-tools
20
21
ENV DAPPER_OUTPUT ./bin coverage.out
You can’t perform that action at this time.
0 commit comments