-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow the use of S3 bucket to host container build assets #569
Comments
Adding @jordeu for visibility |
@munishchouhan We should make a POC simulating a build process pulling the data from S3 via Fusion using a local container |
I started working on this today with @pabloaledo, we found the couple of things:
build is still not working, but we can see in the builder container that s3 content has been mounted inside container |
I will keep on updating here for discussion |
|
we created using |
Same 👍 |
Another point:
|
I am able to fix the entrypoint issue by creating a custom image with one |
That happens because you are using |
build is working but push is failing because of the lack of config.json file |
It is supposed to be in the bucket along with the Dockerfile |
yes, but it need to be mounted to /root/.docker folder |
Indeed, that's not simple to solve. Tagging @fntlnz, he may have some suggestion |
About the problem of mounting |
Unfortunately even if fusion can change the mount dir with However it's easy to use a different directory for docker config so this works with fusion
here is how it looks like on s3. So I would say, just mount fusion as it is and tell the docker cli to point to it. |
|
thanks @fntlnz |
This change also requires changes in Scan process and for singularity builds too. |
Singularity build and push are working using docker |
Scan, SIngularity and build process with docker works with s3 now |
Context
Currently, the build process relies on a shared file system (AWS EFS). In a nutshell, the process is the following:
Deliverable
The goal of this issue is to replace the use of the shared file system with an object storage e.g. S3 in order to:
Solution
This could be achieved:
/tmp
as work directory required by BuildkitThe text was updated successfully, but these errors were encountered: