Skip to content
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

nvidia-bootc: Duplicate common lib & ilab, to avoid an intermediate makefile target #696

Conversation

pastequo
Copy link
Contributor

@pastequo pastequo commented Jul 25, 2024

Following a discussion with @ralphbean , it would be preferable to avoid any makefile command before building this image in Konflux.

This PR dupplicates the required files

@romfreiman
Copy link
Contributor

@rhatdan ptal

if [ -f "/run/.input/ilab" ]; then \
cp /run/.input/ilab /usr/bin/ilab; \
else \
curl -o /usr/bin/ilab "https://raw.githubusercontent.com/containers/ai-lab-recipes/main/training/ilab-wrapper/ilab"; \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though it was better to always pick the local version, to have build reproducibility

@romfreiman
Copy link
Contributor

/hold
what are the minimum required changes to add the upgrade notification service?

@pastequo pastequo force-pushed the nvidia-bootc/feat/remove-makefile-step branch from 55de489 to d026c6b Compare July 25, 2024 14:15
@pastequo
Copy link
Contributor Author

@romfreiman New version, dupplicating lib & ilab

/cc @kwozyman @javipolo

@pastequo pastequo force-pushed the nvidia-bootc/feat/remove-makefile-step branch from d30fa2c to cc5c4d7 Compare July 25, 2024 14:48
@javipolo
Copy link
Collaborator

LGTM

@pastequo pastequo changed the title nvidia-bootc: Use parent directory to build image, to avoid an intermediate makefile target to copy lib nvidia-bootc: Duplicate common lib & ilab, to avoid an intermediate makefile target Jul 25, 2024
@Gregory-Pereira
Copy link
Collaborator

Can we fix DCO?

@Gregory-Pereira Gregory-Pereira merged commit a7b41d1 into containers:main Jul 25, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants