1
0
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:
Jiaqi Luo 2022-11-28 14:46:52 -07:00
parent 5d579d3486
commit 711a86c497
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -11,4 +11,5 @@ if ! command -v golangci-lint; then
fi
echo Running: golangci-lint
export "GOROOT=$(go env GOROOT)"
golangci-lint run