summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-10-07 00:14:56 +0200
committerGitHub <noreply@github.com>2017-10-07 00:14:56 +0200
commit3e1b339cebc0f5259027e266f98f9b06f83f53a3 (patch)
tree7d090b7aee0721d4c7a848402844eba524671be5 /Dockerfile
parentbbfe30297f0a56d4d384f60e0ff20e7c67e08d7a (diff)
downloadbugzilla-3e1b339cebc0f5259027e266f98f9b06f83f53a3.tar.gz
bugzilla-3e1b339cebc0f5259027e266f98f9b06f83f53a3.tar.xz
Bug 1406239 - Pass CircleCI Environmental variables to docker build process
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 604f12c14..4a387f1a2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,13 @@
FROM mozillabteam/bmo-slim:20170927.1
+ARG CI
+ARG CIRCLE_SHA1
+ARG CIRCLE_BUILD_NUM
+
+ENV CI=${CI}
+ENV CIRCLE_BUILD_NUM=${CIRCLE_BUILD_NUM}
+ENV CIRCLE_SHA1=${CIRCLE_SHA1}
+
ENV HTTPD_StartServers=8
ENV HTTPD_MinSpareServers=5
ENV HTTPD_MaxSpareServers=20