Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
micromamba-py310-pytorch-cuda11.7
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Quang tru HUYNH
micromamba-py310-pytorch-cuda11.7
Commits
a4ae1ff1
Commit
a4ae1ff1
authored
2 years ago
by
Quang tru HUYNH
Browse files
Options
Downloads
Patches
Plain Diff
run as root and not default mambauser(1000)
parent
810d7824
No related branches found
No related tags found
No related merge requests found
Pipeline
#99115
canceled
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-3
4 additions, 3 deletions
Dockerfile
with
4 additions
and
3 deletions
Dockerfile
+
4
−
3
View file @
a4ae1ff1
From
mambaorg/micromamba:1-bullseye
From
mambaorg/micromamba:1-bullseye
# uid=1000(mambauser) gid=1000(mambauser) groups=1000(mambauser)
RUN
id
;
ls
-ld
/var/lib/apt/lists/partial
#RUN id ; ls -ld /var/lib/apt/lists/partial
USER
root
# update the OS
# update the OS
RUN
mkdir
-p
/var/lib/apt/lists/partial
&&
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
-y
install
curl
&&
\
apt-get
-y
install
curl
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
upgrade
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
upgrade
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
autoremove
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
autoremove
&&
\
...
...
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