Skip to content

✅ Enforce docker image user to be python through a test #304

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

Merged
merged 7 commits into from
Jan 12, 2022

Conversation

hillairet
Copy link
Collaborator

Occasionally the users of this base image need to install OS package and for that they need they use USER root to switch to root. That is fine as long as they also switch back to the python user using USER python which they sometimes forget!

This PR adds a test to the test suite that requires the user to be python.

@hillairet hillairet added the enhancement New feature or request label Jan 12, 2022
@hillairet hillairet self-assigned this Jan 12, 2022
@hillairet hillairet merged commit 334c376 into main Jan 12, 2022
@hillairet hillairet deleted the feature/check-docker-user branch January 12, 2022 17:45
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.

2 participants