Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
docker-nginx-plus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
docker-nginx-plus
Commits
42df1a74
Commit
42df1a74
authored
May 13, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dockerfile
parent
453f735f
Pipeline
#12707
passed with stages
in 4 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
5 deletions
+30
-5
Dockerfile
Dockerfile
+30
-5
No files found.
Dockerfile
View file @
42df1a74
FROM
alpine:3.13
RUN
apk add
--no-cache
wget
&&
\
FROM
alpine:3.15
RUN
set
-x
&&
\
addgroup
-g
101
-S
nginx
&&
\
adduser
-S
-D
-H
-u
101
-h
/var/cache/nginx
-s
/sbin/nologin
-G
nginx
-g
nginx nginx
&&
\
apk add
--no-cache
wget
&&
\
wget
-O
/etc/apk/keys/nginx_signing.rsa.pub https://cs.nginx.com/static/keys/nginx_signing.rsa.pub
&&
\
printf
"https://yangtze.my-card.in/nginx-plus/alpine/v
`
egrep
-o
'^[0-9]+\.[0-9]+'
/etc/alpine-release
`
/main
\n
"
|
tee
-a
/etc/apk/repositories
&&
\
apk add
--no-cache
nginx-plus nginx-plus-module-modsecurity ca-certificates
&&
\
printf
"https://minio.momobako.com/nginx-plus/alpine/v
`
egrep
-o
'^[0-9]+\.[0-9]+'
/etc/alpine-release
`
/main
\n
"
|
tee
-a
/etc/apk/repositories
&&
\
apk add
--no-cache
\
nginx-plus
\
nginx-plus-module-auth-spnego
\
nginx-plus-module-brotli
\
nginx-plus-module-encrypted-session
\
nginx-plus-module-fips-check
\
nginx-plus-module-geoip2
\
nginx-plus-module-geoip
\
nginx-plus-module-headers-more
\
nginx-plus-module-image-filter
\
nginx-plus-module-lua
\
nginx-plus-module-ndk
\
nginx-plus-module-njs
\
nginx-plus-module-opentracing
\
nginx-plus-module-passenger
\
nginx-plus-module-perl
\
nginx-plus-module-prometheus
\
nginx-plus-module-rtmp
\
nginx-plus-module-set-misc
\
nginx-plus-module-subs-filter
\
nginx-plus-module-xslt
\
curl ca-certificates tzdata
\
&&
\
ln
-sf
/dev/stdout /var/log/nginx/access.log
&&
\
ln
-sf
/dev/stderr /var/log/nginx/error.log
&&
\
rm
-rf
/etc/nginx/sites-enabled/
*
/etc/nginx/conf.d/default.conf
&&
\
...
...
@@ -12,5 +37,5 @@ COPY ./dummy /usr/lib/nginx-plus/check-subscription
COPY
./nginx.conf /etc/nginx/nginx.conf
EXPOSE
80 443
STOPSIGNAL
SIG
TERM
STOPSIGNAL
SIG
QUIT
CMD
["nginx", "-g", "daemon off;"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment