Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GettingStartedWithModernCpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.6.
Show more breadcrumbs
GILLES Sebastien
GettingStartedWithModernCpp
Commits
48ad3dd2
Commit
48ad3dd2
authored
4 years ago
by
Vicente Mataix Ferrándiz
Browse files
Options
Downloads
Patches
Plain Diff
Revert user
parent
3143064a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#245740
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile_full
+2
-2
2 additions, 2 deletions
docker/Dockerfile_full
with
2 additions
and
2 deletions
docker/Dockerfile_full
+
2
−
2
View file @
48ad3dd2
...
@@ -25,6 +25,7 @@ RUN apt-get -y clean
...
@@ -25,6 +25,7 @@ RUN apt-get -y clean
# Creation of a "non-root" user
# Creation of a "non-root" user
ENV USER "formation"
ENV USER "formation"
RUN useradd --create-home ${USER}
RUN useradd --create-home ${USER}
USER ${USER}
# Default working directory is
# Default working directory is
WORKDIR /home/${USER}
WORKDIR /home/${USER}
...
@@ -34,12 +35,11 @@ RUN rm -rf Miniconda3-latest-Linux-x86_64.sh
...
@@ -34,12 +35,11 @@ RUN rm -rf Miniconda3-latest-Linux-x86_64.sh
# Changing to home
# Changing to home
WORKDIR /home/${USER}
WORKDIR /home/${USER}
USER ${USER}
# Create the environment:
# Create the environment:
WORKDIR /home/${USER}/gettingstartedwithmoderncpp
WORKDIR /home/${USER}/gettingstartedwithmoderncpp
COPY environment.yml .
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
RUN /home/${USER}/miniconda3/bin/conda clean -a
# Change the default shell to be bash
# Change the default shell to be bash
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment