summaryrefslogtreecommitdiffstats
path: root/docker_files/install_deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_files/install_deps.sh')
-rwxr-xr-xdocker_files/install_deps.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/docker_files/install_deps.sh b/docker_files/install_deps.sh
index 4b233d569..4d9a126ac 100755
--- a/docker_files/install_deps.sh
+++ b/docker_files/install_deps.sh
@@ -9,25 +9,18 @@
cd $BUGZILLA_ROOT
# Install Perl dependencies
-CPANM="cpanm --quiet --notest --skip-satisfied"
+CPANM="cpanm -l local --quiet --skip-satisfied"
-$CPANM --installdeps --with-recommends --with-all-features \
+$CPANM --installdeps --with-all-features \
--without-feature oracle --without-feature sqlite --without-feature pg .
-# FIXME: These cause error when being installed using cpanfile
-$CPANM HTML::Formatter
-$CPANM HTML::FormatText::WithLinks
-
# Building PDF documentation
if [ ! -x "/usr/bin/rst2pdf" ]; then
pip install rst2pdf
fi
-# For testing support
-$CPANM JSON::XS
-$CPANM Test::WWW::Selenium
-$CPANM Pod::Coverage
-$CPANM Pod::Checker
+# For UI testing support (--notest because it tries to connect to a running server)
+$CPANM --notest Test::WWW::Selenium
# Remove CPAN build files to minimize disk usage
rm -rf ~/.cpanm