From 01e61fe90a21bea253577d4487877eb056841da1 Mon Sep 17 00:00:00 2001 From: kevinrizza Date: Thu, 19 Aug 2021 11:34:32 -0400 Subject: [PATCH] Fix upstream-opm-builder Use mirrored base images as a temporary workaround for the docker.io rate limiting we are currently seeing in our builds Signed-off-by: kevinrizza --- upstream-opm-builder.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upstream-opm-builder.Dockerfile b/upstream-opm-builder.Dockerfile index 7d4d20256..ba8ca75b6 100644 --- a/upstream-opm-builder.Dockerfile +++ b/upstream-opm-builder.Dockerfile @@ -3,7 +3,7 @@ ## GoReleaser to build and push multi-arch images for opm ## -FROM golang:1.16-alpine AS builder +FROM quay.io/operator-framework/golang:1.16-alpine AS builder RUN apk update && apk add sqlite build-base git mercurial bash WORKDIR /build @@ -14,7 +14,7 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.3.2 && \ wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \ chmod +x /bin/grpc_health_probe -FROM alpine +FROM quay.io/operator-framework/alpine RUN apk update && apk add ca-certificates COPY ["nsswitch.conf", "/etc/nsswitch.conf"] COPY --from=builder /build/bin/opm /bin/opm