diff options
author | David Lawrence <dkl@mozilla.com> | 2015-11-06 23:21:30 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-11-06 23:21:30 +0100 |
commit | af46939af5dbe914e07c9b1ec0af2560b38ffbc6 (patch) | |
tree | e3614dddfd2dff0a027c59345f70343f76619eb5 /docker/scripts/install_deps.sh | |
parent | 60bde01b7ffc861a7bfba352af015b2b154e6f1e (diff) | |
download | bugzilla-af46939af5dbe914e07c9b1ec0af2560b38ffbc6.tar.gz bugzilla-af46939af5dbe914e07c9b1ec0af2560b38ffbc6.tar.xz |
Bug 1222497 - Refactor the BMO docker image with new file and script structure while minimizing final image size
Diffstat (limited to 'docker/scripts/install_deps.sh')
-rwxr-xr-x | docker/scripts/install_deps.sh | 24 |
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 |