Skip to content

Commit 3a7f380

Browse files
weyfonkthardeck
authored andcommitted
Swap bitnami for SUSE registry for codegen helper image
As of today, `bitnami/python:3.10` no longer exists on DockerHub.
1 parent 9b1d92a commit 3a7f380

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/codegen/hack/generate_and_sort_crds.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ run_yq() {
1919
log "yq (from https://github.com/kislyuk/yq) is missing, building a helper docker image ($image)..."
2020

2121
docker build -t $image - >&2 << EOF
22-
FROM bitnami/python:3.10
22+
FROM registry.suse.com/bci/python:3.11
2323
24-
RUN install_packages jq
25-
RUN python -m pip install yq
24+
RUN zypper in -y jq
25+
RUN python3 -m pip install yq
2626
EOF
2727
docker run --rm -i -v ${PWD}:${PWD} -w ${PWD} ${image} yq $@
2828
else

0 commit comments

Comments
 (0)