Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
- Bump k8scc to 16.2.0
Browse files Browse the repository at this point in the history
- Remove logic that migrates CAPI CRDs from experimental group to new group.
  • Loading branch information
whites11 committed Jun 26, 2023
1 parent d497576 commit bd203eb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM quay.io/giantswarm/golang:1.17.7 AS builder
FROM quay.io/giantswarm/golang:1.20.3 AS builder
ENV GO111MODULE=on
COPY go.mod /etc/go.mod
RUN cat /etc/go.mod | grep k8scloudconfig | awk '{print $1"/...@"$2}' | xargs -I{} go get {}
# This is needed to extract the versioned catalog name, e.g. [email protected]
RUN ln -s /go/pkg/mod/$(cat /etc/go.mod | grep k8scloudconfig | awk '{print $1"@"$2}') /opt/k8scloudconfig
RUN git clone --depth 1 --branch $(cat /etc/go.mod | grep k8scloudconfig | awk '{print $2}') https://github.com/giantswarm/k8scloudconfig.git && cp -r k8scloudconfig /opt/k8scloudconfig

FROM alpine:3.16.2
FROM alpine:3.17.3

RUN apk add --update ca-certificates \
&& rm -rf /var/cache/apk/*
Expand Down

0 comments on commit bd203eb

Please sign in to comment.