Docker image for Minion runs with UID 1001 but the minion user has UID 997

Description

The Dockerfiles for minion has the instructions to create a user called minion. This user is identified inside /etc/passwd with UID 997.

At runtime, the UID of the main process is 1001, and for consistency, it should be 997. Alternatively, creating the minion user to have UID 1001 would work as well.

Also, it would be useful and more professional to copy the /etc/skel/ files to /opt/minion to have a better prompt when accessing the container.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Ronny Trommer October 2, 2019 at 9:05 AM

Merged to release-25.1.0 branch https://github.com/OpenNMS/opennms/pull/2742

Ronny Trommer September 30, 2019 at 11:12 AM

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created September 27, 2019 at 4:50 PM
Updated November 6, 2019 at 3:10 PM
Resolved October 2, 2019 at 9:05 AM

Flag notifications