From 554d305d0ba52e63350f478c1a683a173fe08d6b Mon Sep 17 00:00:00 2001 From: Gaurav Mehta Date: Wed, 20 Dec 2023 12:55:00 +1100 Subject: [PATCH] update dapper build to download tooling for arm builds too --- Dockerfile.dapper | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 1048d9c3..333e59c4 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -7,13 +7,10 @@ RUN zypper -n rm container-suseconnect && \ zypper -n install git curl docker gzip tar wget awk ## install golangci -RUN if [ "${ARCH}" == "amd64" ]; then \ - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.52.0; \ - fi +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.52.0 ## install controller-gen -RUN if [ "${ARCH}" = "amd64" ]; then \ - go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.2; \ - fi +RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.2 + # install openapi-gen RUN go install k8s.io/code-generator/cmd/openapi-gen@v0.23.7