mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +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
|
|
@ -33,6 +33,9 @@ ruby-2.3 test: *test_build
|
|||
www-gitlab-com test: *test_build
|
||||
|
||||
ruby-2.1: *build_and_deploy
|
||||
ruby-2.1-phantomjs2: *build_and_deploy
|
||||
ruby-2.2: *build_and_deploy
|
||||
ruby-2.2-phantomjs2: *build_and_deploy
|
||||
ruby-2.3: *build_and_deploy
|
||||
ruby-2.3-phantomjs2: *build_and_deploy
|
||||
www-gitlab-com: *build_and_deploy
|
||||
|
|
|
|||
8
Dockerfile.ruby-2.1-phantomjs2
Normal file
8
Dockerfile.ruby-2.1-phantomjs2
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FROM ruby:2.1
|
||||
|
||||
ENV PACKAGES="git-core" \
|
||||
LC_ALL=en_US.UTF-8
|
||||
|
||||
ADD / /
|
||||
RUN /scripts/install-essentials
|
||||
RUN /scripts/install-phantomjs 2.1.1
|
||||
8
Dockerfile.ruby-2.2-phantomjs2
Normal file
8
Dockerfile.ruby-2.2-phantomjs2
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FROM ruby:2.2
|
||||
|
||||
ENV PACKAGES="git-core" \
|
||||
LC_ALL=en_US.UTF-8
|
||||
|
||||
ADD / /
|
||||
RUN /scripts/install-essentials
|
||||
RUN /scripts/install-phantomjs 2.1.1
|
||||
8
Dockerfile.ruby-2.3-phantomjs2
Normal file
8
Dockerfile.ruby-2.3-phantomjs2
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FROM ruby:2.3
|
||||
|
||||
ENV PACKAGES="git-core" \
|
||||
LC_ALL=en_US.UTF-8
|
||||
|
||||
ADD / /
|
||||
RUN /scripts/install-essentials
|
||||
RUN /scripts/install-phantomjs 2.1.1
|
||||
|
|
@ -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