-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add crio runtime support #57
Conversation
Thanks, a few small suggestions but otherwise it's good |
Co-authored-by: Kai Lüke <[email protected]>
Co-authored-by: Kai Lüke <[email protected]>
Co-authored-by: Kai Lüke <[email protected]>
Co-authored-by: Kai Lüke <[email protected]>
Co-authored-by: Kai Lüke <[email protected]>
Anything else I should do here ? |
exit 1 | ||
fi | ||
|
||
export ARCH=x86-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.
To properly build for the requested architecture we would have to map this value to the image name, e.g., arm64v8/alpine
for arm64 (or pass --arch
if we know that docker run
=podman run
).
EOF | ||
|
||
|
||
docker save keepalived-build | tar --no-anchored --strip-components 1 -C "${SYSEXTNAME}" -xvf - layer.tar |
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.
Instead of doing this and FROM scratch
one could also map a subfolder as /install_root
into the container
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.
Afaik i can not map volumes during a container build.
My bad. This is my first PR and i didn't know changes made to my fork after the PR being created would also be in the PR. This PR should be only for the crio, not the keepalived.
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.
Right, instead of using a Dockerfile one would need to execute the commands directly in it. I think it's also having one more advantage: With docker run --rm
one would always clean up even when terminated early while with the current approach docker rmi keepalived-build
would only run if the script runs without error/cancellation.
@jsalatiel did you close this PR on purpose? |
It was a rookie mistake :D , but I have created another one that has already been merged |
Awesome! Thanks and congrats! :) |
Add crio runtime support