Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-nginx
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
nginxinc
docker-nginx
Commits
4ac589e5
Commit
4ac589e5
authored
2 years ago
by
Konstantin Pavlov
Browse files
Options
Downloads
Patches
Plain Diff
Debian: move to groupadd/useradd.
parent
dc87ccb2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile-debian.template
+2
-2
2 additions, 2 deletions
Dockerfile-debian.template
with
2 additions
and
2 deletions
Dockerfile-debian.template
+
2
−
2
View file @
4ac589e5
...
@@ -8,8 +8,8 @@ ENV PKG_RELEASE %%PKG_RELEASE%%
...
@@ -8,8 +8,8 @@ ENV PKG_RELEASE %%PKG_RELEASE%%
RUN set -x \
RUN set -x \
# create nginx user/group first, to be consistent throughout docker variants
# create nginx user/group first, to be consistent throughout docker variants
&&
add
group --system --gid 101 nginx \
&& group
add
--system --gid 101 nginx \
&&
add
user --system --
disabled-login --ingroup
nginx --no-create-home --home /nonexistent --
gecos
"nginx user" --shell /bin/false --uid 101 nginx \
&& user
add
--system --
gid
nginx --no-create-home --home /nonexistent --
comment
"nginx user" --shell /bin/false --uid 101 nginx \
&& apt-get update \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates \
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates \
&& \
&& \
...
...
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