diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-04 00:24:33 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-04 00:24:33 +0200 |
commit | e6567bc13c3c92ed581e916306ecfb758e311f19 (patch) | |
tree | 884c373f40dd1c7fbc560d23370a212645a4e911 /scripts | |
parent | 2e6f816d36d578014c7869ae61e65414fdeb1814 (diff) | |
download | gitlab-ce-e6567bc13c3c92ed581e916306ecfb758e311f19.tar.gz |
Use gitlab-build-images for precache some of the dependencies
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/prepare_build.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index 247383aa46c..9540d7d128f 100755 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -12,20 +12,6 @@ retry() { } if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then - mkdir -p vendor - - # Install phantomjs package - pushd vendor - if [ ! -e phantomjs_1.9.8-0jessie_amd64.deb ]; then - wget -q https://gitlab.com/axil/phantomjs-debian/raw/master/phantomjs_1.9.8-0jessie_amd64.deb - fi - dpkg -i phantomjs_1.9.8-0jessie_amd64.deb - popd - - # Try to install packages - retry 'apt-get update -yqqq; apt-get -o dir::cache::archives="vendor/apt" install -y -qq --force-yes \ - libicu-dev libkrb5-dev cmake nodejs postgresql-client mysql-client unzip' - cp config/database.yml.mysql config/database.yml sed -i 's/username:.*/username: root/g' config/database.yml sed -i 's/password:.*/password:/g' config/database.yml |