mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
initial commit
This commit is contained in:
commit
aefaed4d90
13 changed files with 120 additions and 0 deletions
15
scripts/install-essentials
Executable file
15
scripts/install-essentials
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
apt-get update
|
||||
apt-get install curl wget build-essential \
|
||||
libssl-dev libyaml-dev libreadline6-dev zlib1g-dev \
|
||||
libncurses5-dev libffi-dev libgdbm3 libgdbm-dev \
|
||||
ca-certificates libyaml-dev checkinstall libxml2-dev \
|
||||
libxslt-dev libcurl4-openssl-dev libicu-dev \
|
||||
logrotate python-docutils pkg-config cmake nodejs \
|
||||
libkrb5-dev postgresql-client mysql-client unzip \
|
||||
$PACKAGES
|
||||
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
15
scripts/install-git
Executable file
15
scripts/install-git
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
cd /tmp
|
||||
wget https://www.kernel.org/pub/software/scm/git/git-2.7.4.tar.gz
|
||||
echo '7104c4f5d948a75b499a954524cb281fe30c6649d8abe20982936f75ec1f275b git-2.7.4.tar.gz' | shasum -a256 -c -
|
||||
tar -xzf git-2.7.4.tar.gz
|
||||
|
||||
cd git-2.7.4/
|
||||
./configure
|
||||
make prefix=/usr/local all
|
||||
|
||||
cd /
|
||||
rm -rf /tmp/*
|
||||
6
scripts/install-phantomjs
Executable file
6
scripts/install-phantomjs
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
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
|
||||
14
scripts/install-ruby
Executable file
14
scripts/install-ruby
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
cd /tmp
|
||||
wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
|
||||
tar -xvzf ruby-2.2.2.tar.gz
|
||||
|
||||
cd ruby-2.2.2
|
||||
./configure --enable-shared --disable-install-doc --disable-install-rdoc --disable-install-capi
|
||||
make install -j 3
|
||||
|
||||
cd /
|
||||
rm -rf /tmp/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue