summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile11
1 files changed, 2 insertions, 9 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index b5464761e..ebba20a48 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,10 +1,3 @@
-# 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>
@@ -15,8 +8,9 @@ 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 configuration files
+# Copy over all files and scripts
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 \
@@ -48,7 +42,6 @@ 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