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

Use current user's IDs when reading/writing files within mounted directories in containers #10

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

wraymo
Copy link
Contributor

@wraymo wraymo commented Oct 9, 2021

No description provided.

tools/packager/install-scripts/install-celery.sh Outdated Show resolved Hide resolved
components/package-template/src/sbin/search Outdated Show resolved Hide resolved
components/package-template/src/sbin/compress Outdated Show resolved Hide resolved
components/package-template/src/sbin/decompress Outdated Show resolved Hide resolved
@wraymo wraymo force-pushed the rootless_container branch 2 times, most recently from d4cf07b to c4ac139 Compare October 13, 2021 04:30
@@ -4,6 +4,7 @@

from clp_py_utils.clp_config import CLPConfig

ROOT_DIR = '/opt'
Copy link
Member

Choose a reason for hiding this comment

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

Can we change this to CONTAINER_CLP_INSTALL_PREFIX?

@wraymo wraymo force-pushed the rootless_container branch from c4ac139 to 23ced86 Compare October 13, 2021 14:42
@jackluo923
Copy link
Member

Some explicitly user flag specified in docker container exec commands inside scripts found under the sbin directory is redundant. Can we remove them?

@jackluo923 jackluo923 self-requested a review October 13, 2021 23:29
@wraymo wraymo force-pushed the rootless_container branch from 23ced86 to ceb2ea8 Compare October 14, 2021 22:25
@jackluo923 jackluo923 changed the title Run docker container as current host user Use current user's IDs when reading/writing files within mounted directories in containers Oct 14, 2021
@jackluo923 jackluo923 merged commit c042a37 into y-scope:main Oct 14, 2021
thepegasos added a commit to thepegasos/clp that referenced this pull request Nov 29, 2022
- I think the line y-scope#10 got carried away from the clp-py-utils. 
- For these packages to work, we need to copy these local directories to site-packages. Not clp-py-utils again and again. 
- Thus, the proposed correction.
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.

3 participants