- Notifications
You must be signed in to change notification settings - Fork208
Configurable user IDs#429
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@swift-ci please test |
315ee05 toa6f52e6CompareI'm going to need more output than |
In the artifact step, you should see a link to download the logs.
|
CentOS 7: Ubuntu 23.10: Ubuntu 24.04: Docc: Static SDK Most of these look like either the distro is EOL or an infra issue. I can avoid the EOL distros. I'm not sure what is happening with the static SDK though. Will see if I can reproduce that. This change shouldn't have an effect. |
Ah,
|
a6f52e6 to11730a5CompareWhen working with these containers to debug issues locally, it'ssometimes useful to have the source directory live on the host, whilebuilding in the container. In order for permissions to line up, the userID numbers need to match or the build-user may not be able to createthe necessary directories.This patch allows setting the build-user user ID so that the permissionsline up and the user in the container and host can manipulate the files.Override the build user ID with the current user's ID is done with thefollowing command to ensure that the permissions on any volumes arekept in sync is the following:`docker build --build-arg BUILD_USER_ID=$(id -u) ...`
11730a5 to6721040Compare
When working with these containers to debug issues locally, it's sometimes useful to have the source directory live on the host, while building in the container. In order for permissions to line up, the user ID numbers need to match or the build-user may not be able to create the necessary directories.
This patch allows setting the build-user user ID so that the permissions line up and the user in the container and host can manipulate the files.
Override the build user ID with the current user's ID is done with the following command to ensure that the permissions on any volumes are kept in sync is the following:
docker build --build-arg BUILD_USER_ID=$(id -u) ...