mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add phantomjs2 images
We want to keep the old images so the current stable and patch releases continue to work.
This commit is contained in:
parent
48e6679688
commit
ba27de2fd4
5 changed files with 33 additions and 3 deletions
|
|
@ -3,6 +3,9 @@
|
|||
set -xeo pipefail
|
||||
|
||||
cd /tmp
|
||||
wget -q https://gitlab.com/axil/phantomjs-debian/raw/master/phantomjs_1.9.8-0jessie_amd64.deb
|
||||
dpkg -i phantomjs_1.9.8-0jessie_amd64.deb
|
||||
rm /tmp/*
|
||||
|
||||
PHANTOMJS_VERSION=${1:-1.9.8}
|
||||
PHANTOMJS_FILE="phantomjs-$PHANTOMJS_VERSION-linux-x86_64"
|
||||
curl -L "https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOMJS_FILE.tar.bz2" | tar jx
|
||||
cp "$PHANTOMJS_FILE/bin/phantomjs" "/usr/bin/"
|
||||
rm -rf /tmp/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue