Skip to content

Commit

Permalink
test: optimise disk usage
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Oct 19, 2023
1 parent 00591fd commit 65af239
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hack/setup-testing-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ docker build . -f - -t localhost:50000/buildah/stable:v1.31.0 <<EOF
FROM quay.io/buildah/stable:v1.31.0
RUN echo -e '\n[[registry]]\nprefix = "*.cluster.local"\ninsecure = true' >> '/etc/containers/registries.conf'
EOF
docker push localhost:50000/buildah/stable:v1.31.0

docker image save localhost:50000/buildah/stable:v1.31.0 | \
docker exec -i func-control-plane ctr -n=k8s.io images import -
docker rmi localhost:50000/buildah/stable:v1.31.0

0 comments on commit 65af239

Please sign in to comment.