From e10a657452b68a596469fb53a1534d9e625a0f36 Mon Sep 17 00:00:00 2001 From: "Balasankar \"Balu\" C" Date: Thu, 11 Jul 2019 20:55:24 +0530 Subject: [PATCH] Add image for Debian Buster Signed-off-by: Balasankar "Balu" C --- .gitlab-ci.yml | 2 ++ Dockerfile.omnibus-gitlab-buster | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Dockerfile.omnibus-gitlab-buster diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88ab098..5d1febc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,6 +91,7 @@ omnibus-gitlab-jessie test: *test_build omnibus-gitlab-opensuse42.3 test: *test_build omnibus-gitlab-opensuse15.0 test: *test_build omnibus-gitlab-stretch test: *test_build +omnibus-gitlab-buster test: *test_build omnibus-gitlab-trusty test: *test_build omnibus-gitlab-xenial test: *test_build omnibus-gitlab-depscan test: *test_build @@ -139,6 +140,7 @@ omnibus-gitlab-jessie: *build_and_deploy omnibus-gitlab-opensuse42.3: *build_and_deploy omnibus-gitlab-opensuse15.0: *build_and_deploy omnibus-gitlab-stretch: *build_and_deploy +omnibus-gitlab-buster: *build_and_deploy omnibus-gitlab-trusty: *build_and_deploy omnibus-gitlab-xenial: *build_and_deploy omnibus-gitlab-depscan: *build_and_deploy diff --git a/Dockerfile.omnibus-gitlab-buster b/Dockerfile.omnibus-gitlab-buster new file mode 100644 index 0000000..418e7be --- /dev/null +++ b/Dockerfile.omnibus-gitlab-buster @@ -0,0 +1,25 @@ +FROM debian:buster + +RUN apt-get update -q \ + && apt-get install -y g++ gcc git make curl zlib1g-dev libssl-dev locales \ + && apt-get autoremove -yq \ + && apt-get clean -yqq \ + && rm -rf /var/lib/apt/lists/* + +RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen +RUN locale-gen en_US.UTF-8 +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + + +ENV RUBY_VERSION 2.6.3 +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