mirror of
https://github.com/rancher/k3k.git
synced 2026-08-18 11:56:22 +00:00
Merge pull request #39 from briandowns/secure_build
update to perform secure build and possible arm64 support
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