mirror of
https://github.com/rancher/k3k.git
synced 2026-08-19 04:16:16 +00:00
update to perform secure build and possible arm64 support
Signed-off-by: Brian Downs <brian.downs@gmail.com>
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
ARG GOLANG=golang:1.19.5-alpine3.17
|
||||
ARG GOLANG=rancher/hardened-build-base:v1.20.4b11
|
||||
FROM ${GOLANG}
|
||||
|
||||
ARG DAPPER_HOST_ARCH
|
||||
ENV ARCH $DAPPER_HOST_ARCH
|
||||
|
||||
RUN apk -U add bash git gcc musl-dev docker vim less file curl wget ca-certificates
|
||||
RUN apk -U add \bash git gcc musl-dev docker vim less file curl wget ca-certificates
|
||||
RUN if [ "${ARCH}" == "amd64" ]; then \
|
||||
curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.15.0; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user