mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
We want to keep the old images so the current stable and patch releases continue to work.
11 lines
282 B
Bash
Executable file
11 lines
282 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -xeo pipefail
|
|
|
|
cd /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/*
|