summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-19 17:36:47 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commit723767dc121db1047e1803998ddbbc6c343b1064 (patch)
tree343f903b420594ccda898aa161bbf9fd9116d8d4
parent216af94b979206ee77d3f3b783648a959b120547 (diff)
downloadbugzilla-723767dc121db1047e1803998ddbbc6c343b1064.tar.gz
bugzilla-723767dc121db1047e1803998ddbbc6c343b1064.tar.xz
more bits
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c86a92b0f..d2da33866 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,6 +17,7 @@ ENV HTTPD_MaxClients=256
ENV HTTPD_MaxRequestsPerChild=4000
ENV PORT=8000
+ENV MOJO_LISTEN http://*:$PORT
# we run a loopback logging server on this TCP port.
ENV LOGGING_PORT=5880
@@ -28,7 +29,8 @@ RUN mv /opt/bmo/local /app && \
chown -R app:app /app && \
perl -I/app -I/app/local/lib/perl5 -c -E 'use Bugzilla; BEGIN { Bugzilla->extensions }' && \
perl -c /app/scripts/entrypoint.pl && \
- setcap 'cap_net_bind_service=+ep' /usr/sbin/httpd
+ setcap 'cap_net_bind_service=+ep' /usr/sbin/httpd && \
+ setcap 'cap_net_bind_service=+ep' /usr/bin/perl
USER app