Skip to content

Do not create user almamgr in our image #29

@dneise

Description

@dneise

I would like to avoid creating the user almamgr in our image. I think user creation should be up the the end-user of our image.

So I would like to remove this:

ACS-Docker-Image/Dockerfile

Lines 117 to 124 in 9df3cbd

# Here we create the user almamgr
RUN groupadd -g 1000 almamgr && \
useradd -g 1000 -u 1000 -d /home/almamgr -m -s /bin/bash almamgr && \
passwd -d almamgr && \
# For conveniece we source the alma .bash_profile.acs in the user .bash_rc
# and export JAVA_HOME
echo "source /alma/ACS-2020AUG/ACSSW/config/.acs/.bash_profile.acs" >> /home/almamgr/.bashrc && \
echo "export JAVA_HOME=$JAVA_HOME" >> /home/almamgr/.bashrc

Reasons:

  • not everybody might want a user named almamgr
  • c.f. creation of user "almamgr" with UID = 1000 ? #23 no everybody might want the user to have UID = 1000
  • I think it is not needed (I have to check this and provve it to you of course) and what is not needed, should maybe not be in here.

Metadata

Metadata

Assignees

No one assigned

    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