summaryrefslogtreecommitdiffstats
path: root/docker/install_deps.sh
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-09 17:45:47 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-06-09 17:45:47 +0200
commitf1f6f3f45cd113377810cac99c32d8b0728a270a (patch)
tree9d0fd84ebc4ea15018b2339d2dbfc2a93f23554d /docker/install_deps.sh
parentf9993e2a669e8dfef0c62f175834dbc9699ee81b (diff)
downloadbugzilla-f1f6f3f45cd113377810cac99c32d8b0728a270a.tar.gz
bugzilla-f1f6f3f45cd113377810cac99c32d8b0728a270a.tar.xz
Bug 1172953: Move contrib/docker/.* to docker/*
Diffstat (limited to 'docker/install_deps.sh')
-rw-r--r--docker/install_deps.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/docker/install_deps.sh b/docker/install_deps.sh
new file mode 100644
index 000000000..9d50e586a
--- /dev/null
+++ b/docker/install_deps.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+cd $BUGZILLA_ROOT
+
+# Install Perl dependencies
+CPANM="cpanm --quiet --notest --skip-satisfied"
+
+# Force version due to problem with CentOS ImageMagick-devel
+$CPANM Image::Magick@6.77
+
+perl checksetup.pl --cpanfile
+$CPANM --installdeps --with-recommends --with-all-features \
+ --without-feature oracle --without-feature sqlite --without-feature pg .
+
+# These are not picked up by cpanm --with-all-features for some reason
+$CPANM Template::Plugin::GD::Image
+$CPANM MIME::Parser
+$CPANM SOAP::Lite
+$CPANM JSON::RPC
+$CPANM Email::MIME::Attachment::Stripper
+$CPANM TheSchwartz
+$CPANM XMLRPC::Lite
+
+# For testing support
+$CPANM Test::WWW::Selenium
+$CPANM Pod::Coverage
+$CPANM Pod::Checker
+
+# Remove CPAN build files to minimize disk usage
+rm -rf /root/.cpanm