Merge "Bump clusterctl version and use quay's alpine to avoid pull limit"

This commit is contained in:
Zuul 2021-07-30 21:57:45 +00:00 committed by Gerrit Code Review
commit 881ce482a7

View File

@ -1,6 +1,6 @@
ARG GO_IMAGE=amd64/golang:1.16.6-alpine
ARG PLUGINS_BUILD_IMAGE=alpine:3.12.0
ARG PLUGINS_RELEASE_IMAGE=alpine:3.12.0
ARG PLUGINS_BUILD_IMAGE=quay.io/airshipit/alpine:3.13.5
ARG PLUGINS_RELEASE_IMAGE=quay.io/airshipit/alpine:3.13.5
FROM ${PLUGINS_BUILD_IMAGE} as ctls
# Inject custom root certificate authorities if needed
@ -10,7 +10,7 @@ FROM ${PLUGINS_BUILD_IMAGE} as ctls
RUN apk update && apk add curl
COPY ./certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates
ARG CCTL_VERSION=0.3.21
ARG CCTL_VERSION=0.3.22
RUN curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CCTL_VERSION}/clusterctl-linux-amd64 -o /clusterctl
RUN chmod +x /clusterctl