Skip to content

Commit

Permalink
update dapper build to download tooling for arm builds too
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrokethecloud committed Dec 20, 2023
1 parent dcf7581 commit 554d305
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]; \
fi
RUN go install sigs.k8s.io/controller-tools/cmd/[email protected]

# install openapi-gen
RUN go install k8s.io/code-generator/cmd/[email protected]

Expand Down

0 comments on commit 554d305

Please sign in to comment.