Skip to content

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

Merged
hillairet merged 7 commits intomainfrom
feature/check-docker-user
Jan 12, 2022
Merged

✅ Enforce docker image user to be python through a test#304
hillairet merged 7 commits intomainfrom
feature/check-docker-user

Conversation

@hillairet
Copy link
Copy Markdown
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