Skip to content

Commit

Permalink
build: upgrade golangci-lint to 1.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlJi committed Sep 2, 2024
1 parent c7ca1d7 commit 5c6aaa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# go lint tool dependencies `go list` `gofmt`
FROM golang:alpine
FROM golang:1.23.0-alpine3.20

# if you want to install other tools, please add them here.
# Do not install unnecessary tools to reduce image size.
RUN set -eux \
apk update && \
apk --no-cache add ca-certificates luacheck cppcheck shellcheck git openssh yarn libpcap-dev curl openjdk11 bash build-base && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v1.59.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v1.60.3

WORKDIR /
# check binary
Expand Down

0 comments on commit 5c6aaa6

Please sign in to comment.