Skip to content

Commit

Permalink
Merge pull request #28 from Vastra-Gotalandsregionen/AI-633
Browse files Browse the repository at this point in the history
AI-633: Add change user in Dockerfile
  • Loading branch information
VincentLideboKjellman authored Feb 13, 2023
2 parents 2f54670 + cda49f4 commit 1a408d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{ cookiecutter.repo_name }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ ENV UID=1000
RUN apt -y update \
&& apt install -y --no-install-recommends python3-pip git openssl {% if cookiecutter.image != 'R' %}\
&& addgroup --gid $GID researcher \
&& adduser --home /workspace --shell /bin/bash --disabled-password --gecos '' --uid $UID --gid $GID researcher
&& adduser --home /workspace --shell /bin/bash --disabled-password --gecos '' --uid $UID --gid $GID researcher \
&& chown -R 1000:1000 /workspace
{% endif %}

ADD http://aiav2.vgregion.se/VGC%20Root%20CA%20v2.crt /tmp/vgc_root.der
Expand Down

0 comments on commit 1a408d8

Please sign in to comment.