summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-11-14 18:03:49 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-11-14 18:03:49 +0100
commit27dac6e9b0d2df69037cd022e77a9bf356fc7a67 (patch)
tree00d86c1b27138ce26cb60e3e342d001e9b1fa800 /docker/Dockerfile
parent47f649124510a3e91a315fc7c7cd07286f36e91a (diff)
downloadbugzilla-27dac6e9b0d2df69037cd022e77a9bf356fc7a67.tar.gz
bugzilla-27dac6e9b0d2df69037cd022e77a9bf356fc7a67.tar.xz
Bug 1224649 - Docker and QA scripts should just use the same checksetup_answers.txt file
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index ebba20a48..b5464761e 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,3 +1,10 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This Source Code Form is "Incompatible With Secondary Licenses", as
+# defined by the Mozilla Public License, v. 2.0.
+
FROM centos:centos7
MAINTAINER David Lawrence <dkl@mozilla.com>
@@ -8,9 +15,8 @@ ENV BUGZILLA_ROOT $HOME/devel/htdocs/bmo
ENV GITHUB_BASE_GIT https://github.com/mozilla/webtools-bmo-bugzilla
ENV GITHUB_BASE_BRANCH master
-# Copy over all files and scripts
+# Copy over configuration files
COPY files /files
-COPY scripts /scripts
# Distribution package installation
RUN yum -y -q install https://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm epel-release \
@@ -42,6 +48,7 @@ RUN cp /files/sudoers /etc/sudoers \
RUN su $BUGZILLA_USER -c "git clone $GITHUB_BASE_GIT -b $GITHUB_BASE_BRANCH $BUGZILLA_ROOT"
# Bugzilla dependencies and setup
+COPY scripts /scripts
RUN chmod a+x /scripts/*
RUN /scripts/install_deps.sh
RUN /scripts/bugzilla_config.sh