Skip to content

UBI9: Configurable build user id#572

Open
etcwilde wants to merge 1 commit into
swiftlang:mainfrom
etcwilde:ewilde/ubi9-configurable-build-user
Open

UBI9: Configurable build user id#572
etcwilde wants to merge 1 commit into
swiftlang:mainfrom
etcwilde:ewilde/ubi9-configurable-build-user

Conversation

@etcwilde

Copy link
Copy Markdown
Member

Making the builder-user ID configurable through the docker invocation means that folks can use volumes to map an existing Swift checkout on their host into the container to build in this environment without running into issues with permissions in the build directory.

e.g. docker build --build-arg BUILD_USER_ID=$(id -u) ...

By default, the BUILD_USER_ID is 42, matching the existing setup.

Making the builder-user ID configurable through the docker invocation
means that folks can use volumes to map an existing Swift checkout on
their host into the container to build in this environment without
running into issues with permissions in the build directory.

e.g. `docker build --build-arg BUILD_USER_ID=$(id -u) ...`

By default, the `BUILD_USER_ID` is `42`, matching the existing setup.
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.

1 participant