-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podvm_mkosi: multistage binaries #2204
podvm_mkosi: multistage binaries #2204
Conversation
This has been tested on x86 in my fork: https://github.com/stevenhorsman/cloud-api-adaptor/actions/runs/12256747305 |
-f ../podvm/Dockerfile.podvm_binaries.fedora ../../ | ||
$(if $(filter $(PUSH),true),,-o type=local,dest="./resources/binaries-tree") \ | ||
$(DOCKER_OPTS) \ | ||
-f ../podvm/Dockerfile.podvm.fedora ../../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @stevenhorsman !
Shouldn't it still use Dockerfile.podvm_binaries.fedora
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I renamed this last minute (I created a new one in order to keep the old code untouched before deciding this didn't make sense). I will fix and re-test. thanks for the spot!
FROM ${BUILDER_IMG} AS podvm_builder | ||
ARG ARCH="amd64" | ||
ARG YQ_ARCH="amd64" | ||
# PROTOC_ARCH="x86_64" | "s390_64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop that line.
991ac00
to
d203390
Compare
Simplify the podvm_mkosi binaries building process by combining the builder and binaries into a single multistage dockerfile Signed-off-by: stevenhorsman <[email protected]>
d203390
to
1b86606
Compare
Simplify the podvm_mkosi binaries building process by combining the builder and binaries into a single multistage dockerfile