Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dunitrust-rs-ci
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
Show more breadcrumbs
docker
dunitrust
dunitrust-rs-ci
Commits
39727986
Commit
39727986
authored
7 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile
parent
978419c3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-4
4 additions, 4 deletions
Dockerfile
with
4 additions
and
4 deletions
Dockerfile
+
4
−
4
View file @
39727986
...
@@ -6,9 +6,6 @@ ENV CUSTOM_VAR_ENV value
...
@@ -6,9 +6,6 @@ ENV CUSTOM_VAR_ENV value
RUN
apt-get update
;
\
RUN
apt-get update
;
\
apt-get
install
-y
build-essential curl python-pip
apt-get
install
-y
build-essential curl python-pip
# Cargo
RUN
curl
-sSf
https://static.rust-lang.org/rustup.sh | sh
RUN
useradd
--create-home
-s
/bin/bash user
RUN
useradd
--create-home
-s
/bin/bash user
WORKDIR
/home/user
WORKDIR
/home/user
...
@@ -22,5 +19,8 @@ ADD . /home/user
...
@@ -22,5 +19,8 @@ ADD . /home/user
# Now act as `user`
# Now act as `user`
USER
user
USER
user
# Install NodeJS
# Install Rust & Cargo
RUN
curl
-sSf
https://static.rust-lang.org/rustup.sh | sh
# Execute External script
RUN
./external_script.sh
$CUSTOM_VAR_ENV
RUN
./external_script.sh
$CUSTOM_VAR_ENV
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