diff --git a/Dockerfile b/Dockerfile index e3c308a..8b8015b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -161,7 +161,7 @@ RUN echo | openssl s_client -connect gitlab.irap.omp.eu:443 -servername gitlab.i ################################# # Adding new user (pyros_user) and creating his home folder -RUN useradd --create-home --shell /bin/bash pyros_user --uid $uid +RUN useradd -m -s /bin/bash pyros_user --uid $uid # Create the work dir and set permissions as pyros_user RUN mkdir -p /home/pyros_user/app/ && chown -R pyros_user:pyros_user /home/pyros_user/app @@ -177,7 +177,7 @@ USER pyros_user # Copy local host machine files to image -COPY --chown=pyros_user:pyros_user .. . +COPY --chown=pyros_user:pyros_user . . # Copy some aliases RUN cp .bash_aliases .. #RUN mv .bash_aliases .. -- libgit2 0.21.2