From cf40d4b9f5a6a2710066a7520f2d2c18a2c01705 Mon Sep 17 00:00:00 2001 From: "Balasankar \"Balu\" C" Date: Wed, 10 Nov 2021 10:42:32 +0530 Subject: [PATCH] Add openSUSE 15.3 image Signed-off-by: Balasankar "Balu" C --- .gitlab-ci.yml | 2 ++ Dockerfile.omnibus-gitlab-opensuse15.3 | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Dockerfile.omnibus-gitlab-opensuse15.3 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 060ffd3..bb20873 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -158,6 +158,7 @@ omnibus-gitlab-centos8 test: *test_build omnibus-gitlab-jessie test: *test_build omnibus-gitlab-opensuse15.1 test: *test_build omnibus-gitlab-opensuse15.2 test: *test_build +omnibus-gitlab-opensuse15.3 test: *test_build omnibus-gitlab-stretch test: *test_build omnibus-gitlab-buster test: *test_build omnibus-gitlab-xenial test: *test_build @@ -263,6 +264,7 @@ omnibus-gitlab-centos8 push: *build_and_deploy omnibus-gitlab-jessie push: *build_and_deploy omnibus-gitlab-opensuse15.1 push: *build_and_deploy omnibus-gitlab-opensuse15.2 push: *build_and_deploy +omnibus-gitlab-opensuse15.3 push: *build_and_deploy omnibus-gitlab-stretch push: *build_and_deploy omnibus-gitlab-buster push: *build_and_deploy omnibus-gitlab-xenial push: *build_and_deploy diff --git a/Dockerfile.omnibus-gitlab-opensuse15.3 b/Dockerfile.omnibus-gitlab-opensuse15.3 new file mode 100644 index 0000000..735d01a --- /dev/null +++ b/Dockerfile.omnibus-gitlab-opensuse15.3 @@ -0,0 +1,23 @@ +FROM opensuse/leap:15.3 + +RUN zypper -q -n --gpg-auto-import-keys update \ + && zypper -q -n in -t pattern devel_perl devel_basis \ + && zypper -q -n install \ + gcc gcc-c++ git make curl zlib-devel libopenssl-devel glibc-i18ndata glibc-locale hostname \ + && zypper clean -a + +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 + +ENV RUBY_VERSION 2.6.5 +RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-${RUBY_VERSION}.tar.gz" \ + | tar -xzC /tmp \ + && cd "/tmp/ruby-${RUBY_VERSION}" \ + && ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi\ + && make \ + && make install \ + && cd / \ + && rm -rf "/tmp/ruby-${RUBY_VERSION}" \ + && gem install bundler --no-document --version 2.2.3