summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-07-08 07:04:18 +0200
committerDylan William Hardison <dylan@hardison.net>2018-07-08 07:04:18 +0200
commit597ac85a2a4219cb8cb6d916414e47a3abfa8c72 (patch)
tree1d01a86c4a32981a20016fa2204561588c96ea32 /Dockerfile
parentbe1f92450788dc89280c9e04a4bf983b5d7fac54 (diff)
parentfbdbbe2d0dc333fdd6fb547254d2cab57ed3bc98 (diff)
downloadbugzilla-597ac85a2a4219cb8cb6d916414e47a3abfa8c72.tar.gz
bugzilla-597ac85a2a4219cb8cb6d916414e47a3abfa8c72.tar.xz
Merge remote-tracking branch 'dylanwh/mojo-poc'
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 009c41ee8..1e5c521ee 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,12 +9,6 @@ ENV CIRCLE_BUILD_URL=${CIRCLE_BUILD_URL}
ENV CIRCLE_SHA1=${CIRCLE_SHA1}
ENV LOG4PERL_CONFIG_FILE=log4perl-json.conf
-ENV HTTPD_StartServers=8
-ENV HTTPD_MinSpareServers=5
-ENV HTTPD_MaxSpareServers=20
-ENV HTTPD_ServerLimit=256
-ENV HTTPD_MaxClients=256
-ENV HTTPD_MaxRequestsPerChild=4000
ENV PORT=8000
@@ -28,7 +22,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