mirror of
https://github.com/rancher/norman.git
synced 2025-04-27 19:15:07 +00:00
bump the base image to Go 1.19 used for Dapper; and fix golangci-lint's compatibility issue when using GO 1.19
This commit is contained in:
parent
5d579d3486
commit
711a86c497
@ -1,4 +1,4 @@
|
||||
FROM registry.suse.com/bci/golang:1.17
|
||||
FROM registry.suse.com/bci/golang:1.19-18.38
|
||||
|
||||
ARG DAPPER_HOST_ARCH
|
||||
ENV ARCH $DAPPER_HOST_ARCH
|
||||
|
@ -11,4 +11,5 @@ if ! command -v golangci-lint; then
|
||||
fi
|
||||
|
||||
echo Running: golangci-lint
|
||||
export "GOROOT=$(go env GOROOT)"
|
||||
golangci-lint run
|
||||
|
Loading…
Reference in New Issue
Block a user