Skip to content

Commit e9196bb

Browse files
authored
chore: Update dockerfiles to match template from #323 (#325)
1 parent 22cffb6 commit e9196bb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mainline/debian/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co
140140
&& sed -i '/user nginx;/d' /etc/nginx/nginx.conf \
141141
&& sed -i 's,\(/var\)\{0\,1\}/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf \
142142
&& sed -i "/^http {/a \ proxy_temp_path /tmp/proxy_temp;\n client_body_temp_path /tmp/client_temp;\n fastcgi_temp_path /tmp/fastcgi_temp;\n uwsgi_temp_path /tmp/uwsgi_temp;\n scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf \
143+
&& sed -i 's,PIDFILE=${PIDFILE:-/run/nginx.pid},PIDFILE=${PIDFILE:-/tmp/nginx.pid},' /etc/init.d/nginx \
143144
# nginx user must own the cache and etc directory to write cache and tweak the nginx config
144145
&& chown -R $UID:0 /var/cache/nginx \
145146
&& chmod -R g+w /var/cache/nginx \

stable/debian/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co
140140
&& sed -i '/user nginx;/d' /etc/nginx/nginx.conf \
141141
&& sed -i 's,\(/var\)\{0\,1\}/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf \
142142
&& sed -i "/^http {/a \ proxy_temp_path /tmp/proxy_temp;\n client_body_temp_path /tmp/client_temp;\n fastcgi_temp_path /tmp/fastcgi_temp;\n uwsgi_temp_path /tmp/uwsgi_temp;\n scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf \
143+
&& sed -i 's,PIDFILE=${PIDFILE:-/run/nginx.pid},PIDFILE=${PIDFILE:-/tmp/nginx.pid},' /etc/init.d/nginx \
143144
# nginx user must own the cache and etc directory to write cache and tweak the nginx config
144145
&& chown -R $UID:0 /var/cache/nginx \
145146
&& chmod -R g+w /var/cache/nginx \

0 commit comments

Comments
 (0)