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

Large layer created by fixing permisisons using RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && fix-permissions /opt/app-root -P #539

Closed
jiridanek opened this issue May 23, 2024 · 0 comments · Fixed by #635

Comments

@jiridanek
Copy link
Member

The below step in jupyter-pytorch-ubi9-python-3_9 and probably other images creates a large layer. Fix the permissions in the previous step already.

STEP 5/5: RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages &&     fix-permissions /opt/app-root -P
COMMIT ghcr.io/jiridanek/notebooks/workbench-images:jupyter-pytorch-ubi9-python-3.9-2024a_20240523

Note that changing the metadata of files, for example, changing file permissions or ownership of a file, can also result in a copy_up operation, therefore duplicating the file to the writable layer.

from https://docs.docker.com/storage/storagedriver/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
1 participant