Skip to content

Commit

Permalink
upgrade go to go v1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlJi committed Mar 5, 2025
1 parent 499476d commit c58ab93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# go lint tool dependencies `go list` `gofmt`
# image from qiniu registry, origin: https://hub.docker.com/_/golang
FROM aslan-spock-register.qiniu.io/qa/golang:1.23.0-alpine3.20
FROM aslan-spock-register.qiniu.io/qa/golang:1.24.1-alpine3.21

# 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.60.3
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v1.64.6

WORKDIR /
# check binary
Expand Down
2 changes: 2 additions & 0 deletions config/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ customRepos: # custom config for specific orgs or repos
linters:
pylint:
enable: false
golangci-lint:
enable: false

qbox/kodo:
linters:
Expand Down

0 comments on commit c58ab93

Please sign in to comment.