summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile37
1 files changed, 0 insertions, 37 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 0ac04acc6..000000000
--- a/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-FROM mozillabteam/bmo-slim:20180801.2
-
-ARG CI
-ARG CIRCLE_SHA1
-ARG CIRCLE_BUILD_URL
-
-ENV CI=${CI}
-ENV CIRCLE_BUILD_URL=${CIRCLE_BUILD_URL}
-ENV CIRCLE_SHA1=${CIRCLE_SHA1}
-
-ENV LOG4PERL_CONFIG_FILE=log4perl-json.conf
-
-ENV PORT=8000
-
-# we run a loopback logging server on this TCP port.
-ENV LOGGING_PORT=5880
-
-WORKDIR /app
-COPY . .
-
-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/bin/perl
-
-USER app
-
-RUN perl checksetup.pl --no-database --default-localconfig && \
- rm -rf /app/data /app/localconfig && \
- mkdir /app/data
-
-EXPOSE $PORT
-
-ENTRYPOINT ["/app/scripts/entrypoint.pl"]
-CMD ["httpd"]