Commit 5a8b41da4a54b485b6ca9e4f6049745ac84de728
1 parent
b5838447
Exists in
dev
update dockerfile (can't copy outside build context)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
Dockerfile
... | ... | @@ -161,7 +161,7 @@ RUN echo | openssl s_client -connect gitlab.irap.omp.eu:443 -servername gitlab.i |
161 | 161 | ################################# |
162 | 162 | |
163 | 163 | # Adding new user (pyros_user) and creating his home folder |
164 | -RUN useradd --create-home --shell /bin/bash pyros_user --uid $uid | |
164 | +RUN useradd -m -s /bin/bash pyros_user --uid $uid | |
165 | 165 | |
166 | 166 | # Create the work dir and set permissions as pyros_user |
167 | 167 | RUN mkdir -p /home/pyros_user/app/ && chown -R pyros_user:pyros_user /home/pyros_user/app |
... | ... | @@ -177,7 +177,7 @@ USER pyros_user |
177 | 177 | |
178 | 178 | |
179 | 179 | # Copy local host machine files to image |
180 | -COPY --chown=pyros_user:pyros_user .. . | |
180 | +COPY --chown=pyros_user:pyros_user . . | |
181 | 181 | # Copy some aliases |
182 | 182 | RUN cp .bash_aliases .. |
183 | 183 | #RUN mv .bash_aliases .. | ... | ... |