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

Change-Id: I5c52cdd8433ad93c2649a3a1adee364128a0ad4a
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
Ruslan Aliev 2021-07-28 17:18:34 -05:00
parent 0ff049115d
commit 38e81fc139

View File

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