Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
ICNML
docker
Commits
1dfff743
Commit
1dfff743
authored
5 years ago
by
Marco De Donno
Browse files
Options
Downloads
Patches
Plain Diff
hardened the user list
parent
9c568ba6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#1922
passed
5 years ago
Stage: build
Stage: push
Stage: deploy
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/Dockerfile
+3
-4
3 additions, 4 deletions
web/Dockerfile
with
3 additions
and
4 deletions
web/Dockerfile
+
3
−
4
View file @
1dfff743
...
...
@@ -13,10 +13,9 @@ RUN pip install --upgrade pip
################################################################################
# User configuration
RUN
groupadd
-r
icnml
&&
\
useradd
-r
-g
icnml icnml
&&
\
mkdir
/home/icnml
&&
\
chown
icnml:icnml /home/icnml
RUN
adduser
--shell
/bin/true
--no-create-home
--uid
999
--disabled-password
--disabled-login
icnml
&&
\
sed
-i
-r
"/^(icnml|root)/!d"
/etc/group /etc/passwd
&&
\
sed
-i
-r
's#^(.*):[^:]*$#\1:/sbin/nologin#'
/etc/passwd
################################################################################
# Installation of Marco De Donno's libraries and depencencies
...
...
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