Merge branch 'add-omnibus-gitlab-test-images' into 'master'

Add Dockerfiles of images for omnibus-gitlab's tests

See merge request !38
This commit is contained in:
Marin Jankovski 2017-05-18 14:23:30 +00:00
commit 7c446d7964
8 changed files with 123 additions and 0 deletions

View file

@ -39,6 +39,13 @@ golang-1.5-git-2.8.4 test: *test_build
golang-1.6-git-2.8.4 test: *test_build
golang-1.7-git-2.8.4 test: *test_build
golang-1.8-git-2.8.4 test: *test_build
omnibus-gitlab-centos6 test: *test_build
omnibus-gitlab-centos7 test: *test_build
omnibus-gitlab-jessie test: *test_build
omnibus-gitlab-opensuse42.1 test: *test_build
omnibus-gitlab-trusty test: *test_build
omnibus-gitlab-wheezy test: *test_build
omnibus-gitlab-xenial test: *test_build
ruby-2.1-git-2.7-phantomjs-2.1: *build_and_deploy
ruby-2.3-git-2.7-phantomjs-2.1: *build_and_deploy
@ -52,3 +59,10 @@ golang-1.5-git-2.8.4: *build_and_deploy
golang-1.6-git-2.8.4: *build_and_deploy
golang-1.7-git-2.8.4: *build_and_deploy
golang-1.8-git-2.8.4: *build_and_deploy
omnibus-gitlab-centos6: *build_and_deploy
omnibus-gitlab-centos7: *build_and_deploy
omnibus-gitlab-jessie: *build_and_deploy
omnibus-gitlab-opensuse42.1: *build_and_deploy
omnibus-gitlab-trusty: *build_and_deploy
omnibus-gitlab-wheezy: *build_and_deploy
omnibus-gitlab-xenial: *build_and_deploy

View file

@ -0,0 +1,16 @@
FROM centos:centos6
RUN yum update -y -q
RUN yum groupinstall -y Development Tools
RUN yum install -y \
gcc git make curl zlib-devel openssl-devel
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler

View file

@ -0,0 +1,16 @@
FROM centos:centos7
RUN yum update -y -q
RUN yum groupinstall -y Development Tools
RUN yum install -y \
gcc git make curl zlib-devel openssl-devel
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler

View file

@ -0,0 +1,15 @@
FROM debian:jessie
RUN apt-get update -q \
&& apt-get install -y gcc git make curl zlib1g-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler

View file

@ -0,0 +1,17 @@
FROM opensuse:42.1
#RUN zypper addrepo http://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_42.1/ develtools
RUN zypper -q -n --gpg-auto-import-keys update
RUN zypper -q -n in -t pattern devel_perl devel_basis
RUN zypper -q -n install \
gcc git make curl zlib-devel libopenssl-devel
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler

View file

@ -0,0 +1,15 @@
FROM ubuntu:14.04
RUN apt-get update -q \
&& apt-get install -y gcc git make curl zlib1g-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler

View file

@ -0,0 +1,15 @@
FROM debian:wheezy
RUN apt-get update -q \
&& apt-get install -y gcc git make libc6-dev curl zlib1g-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler

View file

@ -0,0 +1,15 @@
FROM ubuntu:16.04
RUN apt-get update -q \
&& apt-get install -y gcc git make curl zlib1g-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*
ENV RUBY_VERSION 2.3.3
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.3.3 \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\
&& make \
&& make install
RUN gem install bundler