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

build(Dockerfile): Use PowerAPI global virtualenv #150

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

gfieni
Copy link
Contributor

@gfieni gfieni commented Sep 24, 2024

Using a user virtualenv prevents the container from being run as another user with the --user docker/podman run flag.
Since PowerAPI v2.8.0, a global virtualenv available in the image, which fixes this problem.

This is useful to run SmartWatts with a rootless container runtime and have the output files with the same permissions as the running user.

Using a user virtualenv prevents the container from being run as another
user with the `--user` docker/podman run flag.
Since PowerAPI v2.8.0, a global virtualenv available in the image, which
fixes this problem.

This is useful to run SmartWatts with a rootless container runtime
and have the output files with the same permissions as the running user.
@gfieni gfieni added the enhancement New feature or request label Sep 24, 2024
@gfieni gfieni merged commit 400d1ce into master Sep 24, 2024
5 checks passed
@gfieni gfieni deleted the build/container-global-venv branch September 24, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant