Skip to content

Test that the user in python and not root #303

@hillairet

Description

@hillairet

We have seen a couple of times the situation in the images built with this base where the user is switched to root using USER root to install packages then not switched back to python.
Our test suite can enforce better practices and test that the user is not root.

The command whoami returns the username.
Add a check to enforce the user of the docker image to be python in the test_suite.sh.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions