Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1edfad7

Browse files
committedSep 7, 2024·
chore(dockerfile): update golangci-lint to v1.60.3
Signed-off-by: Derek Su <[email protected]>
1 parent 9262179 commit 1edfad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎Dockerfile.dapper

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ ARG DAPPER_HOST_ARCH=amd64
44
ARG http_proxy
55
ARG https_proxy
66
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
7+
ENV GOLANGCI_LINT_VERSION="v1.60.3"
78

89
RUN zypper -n addrepo --refresh https://download.opensuse.org/repositories/Base:System/openSUSE_Factory/Base:System.repo && \
910
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
1415
ENV GOLANG_ARCH_amd64=amd64 GOLANG_ARCH_arm64=arm64 GOLANG_ARCH=GOLANG_ARCH_${ARCH} \
1516
GOPATH=/go PATH=/go/bin:/usr/local/go/bin:${PATH} SHELL=/bin/bash
1617

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}
1819

1920
ENV DAPPER_SOURCE /go/src/github.com/longhorn/sparse-tools
2021
ENV DAPPER_OUTPUT ./bin coverage.out

0 commit comments

Comments
 (0)
Please sign in to comment.