summaryrefslogtreecommitdiffstats
path: root/docker/scripts/install_deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/scripts/install_deps.sh')
-rwxr-xr-xdocker/scripts/install_deps.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/docker/scripts/install_deps.sh b/docker/scripts/install_deps.sh
new file mode 100755
index 000000000..232bfea10
--- /dev/null
+++ b/docker/scripts/install_deps.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+cd $BUGZILLA_ROOT
+
+# Install Perl dependencies
+CPANM="cpanm --quiet --notest --skip-satisfied"
+
+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 XMLRPC::Lite
+
+# For testing support
+$CPANM File::Copy::Recursive
+$CPANM Test::WWW::Selenium
+$CPANM Pod::Coverage
+$CPANM Pod::Checker
+$CPANM Test::LWP::UserAgent
+$CPANM Test::MockObject
+
+# Remove CPAN build files to minimize disk usage
+rm -rf ~/.cpanm