Skip to content
Snippets Groups Projects
Commit 4c5e0c3b authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Opensuse 13.2 build image.

parent 2764bd12
No related branches found
No related tags found
No related merge requests found
FROM opensuse:13.2
MAINTAINER Marin Jankovski <marin@gitlab.com>
# Install required packages
RUN zypper addrepo http://download.opensuse.org/repositories/devel:/tools/openSUSE_13.2/ develtools
RUN zypper -q -n --gpg-auto-import-keys update
#RUN yum groupinstall -y Development Tools
#RUN yum install -y epel-release
RUN zypper -q -n in -t pattern devel_perl devel_basis
RUN zypper -q -n install \
gcc \
gcc-c++ \
glibc-i18ndata \
glibc-locale \
libcurl-devel \
libexpat-devel \
gettext-devel \
libopenssl-devel \
zlib-devel \
make \
libyaml-devel \
libffi-devel \
readline-devel \
zlib-devel \
gdbm-devel \
ncurses-devel \
bzip2 \
which \
byacc \
cmake \
tar \
curl \
fakeroot \
python-devel \
python-setuptools \
timezone \
rpmbuild
# perl-devel python-setuptools-devel
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANGUAGE en_US:en
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
RUN easy_install pip
RUN pip install awscli
ENV GIT_VERSION 2.7.4
RUN curl -fsSL "https://www.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/git-2.7.4 \
&& ./configure \
&& make all \
&& make install
ENV GO_VERSION 1.5.4
RUN curl -fsSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" \
| tar -xzC /usr/local \
&& ln -sf /usr/local/go/bin/go /usr/local/go/bin/gofmt /usr/local/go/bin/godoc /usr/local/bin/
ENV RUBY_VERSION 2.1.8
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.1/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd /tmp/ruby-2.1.8 \
&& ./configure --disable-install-rdoc \
&& make \
&& make install
ENV RUBYGEMS_VERSION 2.4.8
RUN /usr/local/bin/gem update --system ${RUBYGEMS_VERSION} --no-ri --no-rdoc
ENV BUNDLER_VERSION 1.9.9
RUN /usr/local/bin/gem install bundler --version ${BUNDLER_VERSION} --no-ri --no-rdoc
RUN mkdir -p /opt/gitlab /var/cache/omnibus ~/.ssh
RUN git config --global user.email "packages@gitlab.com"
RUN git config --global user.name "GitLab Inc."
RUN rm -rf /tmp/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment