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
46a0d483
Commit
46a0d483
authored
2 years ago
by
Mathieu Rampant
Committed by
Konstantin Pavlov
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile to work with other version of nginx
parent
4d700b97
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
modules/Dockerfile
+3
-2
3 additions, 2 deletions
modules/Dockerfile
with
3 additions
and
2 deletions
modules/Dockerfile
+
3
−
2
View file @
46a0d483
FROM
nginx:mainline
as
builder
ARG
NGINX_VERSION_FROM=mainline
FROM
nginx:${NGINX_VERSION_FROM}
as
builder
ARG
ENABLED_MODULES
...
...
@@ -68,7 +69,7 @@ RUN set -ex \
done \
&& echo "BUILT_MODULES=\"$BUILT_MODULES\"" > /tmp/packages/modules.env
FROM
nginx:
mainline
FROM
nginx:
${NGINX_VERSION_FROM}
COPY
--from=builder /tmp/packages /tmp/packages
RUN
set
-ex
\
&&
apt update
\
...
...
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