Skip to content

Conversation

@saturley-hall
Copy link
Member

This makes the user and group of the docker container user parametrizable from the default of 1000:1000 so that in certain environments users will be able to mount and write to a folder by building with the following command:

docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t aiperf .

Signed-off-by: Harrison Saturley-Hall <[email protected]>
@github-actions
Copy link

Try out this PR

Quick install:

pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@0ac0b42d0baa7756dfa94392459790fe2978b77f

Recommended with virtual environment (using uv):

uv venv --python 3.12 && source .venv/bin/activate
uv pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@0ac0b42d0baa7756dfa94392459790fe2978b77f

Last updated for commit: 0ac0b42Browse code

@github-actions github-actions bot added the fix label Nov 25, 2025
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we unable to have docker build call id -u and id -g on its own so we don't need to modify the docker build -t aiperf . command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants