Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 48ad3dd2 authored by Vicente Mataix Ferrándiz's avatar Vicente Mataix Ferrándiz
Browse files

Revert user

parent 3143064a
No related branches found
No related tags found
No related merge requests found
Pipeline #245740 passed
......@@ -25,6 +25,7 @@ RUN apt-get -y clean
# Creation of a "non-root" user
ENV USER "formation"
RUN useradd --create-home ${USER}
USER ${USER}
# Default working directory is
WORKDIR /home/${USER}
......@@ -34,12 +35,11 @@ RUN rm -rf Miniconda3-latest-Linux-x86_64.sh
# Changing to home
WORKDIR /home/${USER}
USER ${USER}
# Create the environment:
WORKDIR /home/${USER}/gettingstartedwithmoderncpp
COPY environment.yml .
RUN /home/${USER}/miniconda3/bin/conda env create -f environment.yml
RUN /home/${USER}/miniconda3/bin/conda env create -f environment.yml
RUN /home/${USER}/miniconda3/bin/conda clean -a
# Change the default shell to be bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment