From fac92fb21ad217718d6725951c05157b3415f37b Mon Sep 17 00:00:00 2001 From: Brian Downs Date: Tue, 13 Jun 2023 17:16:51 -0700 Subject: [PATCH] update to perform secure build and possible arm64 support Signed-off-by: Brian Downs --- Dockerfile.dapper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 6153e760..da0ffc9a 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -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