Skip to content

Commit

Permalink
NO-ISSUE: fix golangci-lint failing to be pulled
Browse files Browse the repository at this point in the history
app-sre made their repo mirroring golangci-lint private for legal reasons, and
now our jobs are failing to install it. Installing it now from the cli.

We could also have pulled golangci-lint from dockerhub, but rate
limitation there is quite aggressive.
  • Loading branch information
adriengentil committed Dec 8, 2023
1 parent 81ef854 commit bff4944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.assisted-installer-build
Expand Up @@ -2,7 +2,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.20
ENV GO111MODULE=on
ENV GOFLAGS=""

COPY --from=quay.io/app-sre/golangci-lint:v1.53.2 /usr/bin/golangci-lint /usr/bin/golangci-lint
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/bin v1.53.2
RUN yum install -y docker && \
yum clean all

Expand Down

0 comments on commit bff4944

Please sign in to comment.