Remove obsolete omnibus-gitlab OS images

Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
This commit is contained in:
Balasankar "Balu" C 2023-01-03 22:14:51 +05:30
parent b2450136ba
commit 51b609d407
No known key found for this signature in database
GPG key ID: B77D2E2E23735427
18 changed files with 0 additions and 528 deletions

View file

@ -31,54 +31,6 @@ gitlab-vscode-nodeless:
kaniko: kaniko:
extends: .build_and_deploy extends: .build_and_deploy
omnibus-gitlab-bionic:
extends: .build_and_deploy
omnibus-gitlab-centos7:
extends: .build_and_deploy
omnibus-gitlab-centos8:
extends: .build_and_deploy
omnibus-gitlab-jessie:
extends: .build_and_deploy
omnibus-gitlab-opensuse15.1:
extends: .build_and_deploy
omnibus-gitlab-opensuse15.2:
extends: .build_and_deploy
omnibus-gitlab-opensuse15.3:
extends: .build_and_deploy
omnibus-gitlab-opensuse15.4:
extends: .build_and_deploy
omnibus-gitlab-stretch:
extends: .build_and_deploy
omnibus-gitlab-buster:
extends: .build_and_deploy
omnibus-gitlab-bullseye:
extends: .build_and_deploy
omnibus-gitlab-xenial:
extends: .build_and_deploy
omnibus-gitlab-focal:
extends: .build_and_deploy
omnibus-gitlab-jammy:
extends: .build_and_deploy
omnibus-gitlab-amazonlinux2:
extends: .build_and_deploy
omnibus-gitlab-amazonlinux2022:
extends: .build_and_deploy
omnibus-gitlab-depscan: omnibus-gitlab-depscan:
extends: .build_and_deploy extends: .build_and_deploy

View file

@ -1,22 +0,0 @@
FROM amazonlinux:2 as builder
RUN yum update -y -q \
&& yum groupinstall -y "Development Tools" \
&& yum install -y \
gcc gcc-c++ git make curl zlib-devel openssl-devel glibc-locale-source hostname \
&& yum clean all
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN localedef -c -f UTF-8 -i C C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,64 +0,0 @@
FROM amazonlinux:2022 as builder-base
RUN yum update -y -q \
&& yum groupinstall -y "Development Tools" \
&& yum install -y --allowerasing \
gcc gcc-c++ git make curl zlib-devel glibc-locale-source hostname \
&& yum clean all
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN localedef -c -f UTF-8 -i C C.UTF-8
FROM builder-base as builder-openssl
RUN yum install -y perl-FindBin
ENV OPENSSL_VERSION 1.1.1q
RUN curl -fsSL "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz" | tar -xzC /tmp
WORKDIR /tmp/openssl-${OPENSSL_VERSION}
RUN ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib
RUN make
ENV DESTDIR=/tmp/openssl-install
RUN mkdir -p ${DESTDIR}
RUN make DESTDIR=${DESTDIR} INSTALL_PREFIX=${DESTDIR} install
WORKDIR /
RUN rm -rf ${DESTDIR}/usr/local/openssl/certs \
&& ln -s /etc/ssl/certs ${DESTDIR}/usr/local/openssl/
FROM builder-base as builder-ruby
COPY --from=builder-openssl /tmp/openssl-install /
RUN yum install -y gdbm-devel readline-devel
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp
WORKDIR /tmp/ruby-${RUBY_VERSION}
RUN ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi --with-openssl-dir=/usr/local/openssl
RUN make
RUN mkdir /tmp/ruby-install
RUN make DESTDIR=/tmp/ruby-install install
RUN mkdir -p /tmp/ruby-install/etc/ld.so.conf.d/ \
&& echo "/usr/local/openssl/lib" > /tmp/ruby-install/etc/ld.so.conf.d/openssl-local.conf
RUN mkdir -p /tmp/ruby-install/etc/profile.d \
&& echo "PATH=\${PATH}:/usr/local/openssl/bin" > /tmp/ruby-install/etc/profile.d/openssl-local.sh
WORKDIR /
FROM builder-base as builder-assemble
COPY --from=builder-openssl /tmp/openssl-install/ /
RUN rm -rf /usr/local/openssl/certs \
&& ln -sf /etc/ssl/certs /usr/local/openssl/certs \
&& ln -sf /etc/ssl/cert.pem /usr/local/openssl/cert.pem
COPY --from=builder-ruby /tmp/ruby-install/ /
RUN ldconfig -f /etc/ld.so.conf
ENV PATH=${PATH}:/usr/local/openssl/bin
RUN gem install bundler --no-document --version 2.2.33
FROM builder-base
ENV PATH=${PATH}:/usr/local/openssl/bin
COPY --from=builder-assemble / /

View file

@ -1,22 +0,0 @@
FROM ubuntu:18.04
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/*
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,25 +0,0 @@
FROM debian:bullseye
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.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,25 +0,0 @@
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 "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen C.UTF-8
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,24 +0,0 @@
FROM centos:centos7
RUN yum update -y -q \
&& yum groupinstall -y Development Tools \
&& yum install -y \
gcc gcc-c++ git make curl zlib-devel openssl-devel \
&& yum clean all
# it seems C.UTF-8 is not available in centos-7
# https://bugzilla.redhat.com/show_bug.cgi?id=1361965
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,27 +0,0 @@
FROM centos:centos8
# https://techglimpse.com/failed-metadata-repo-appstream-centos-8/
RUN cd /etc/yum.repos.d/ \
&& sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
&& sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN yum update -y -q \
&& yum groupinstall -y "Development Tools" \
&& yum install -y \
gcc gcc-c++ git make curl zlib-devel openssl-devel glibc-locale-source \
&& yum clean all
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN localedef -c -f UTF-8 -i C C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,22 +0,0 @@
FROM ubuntu:20.04
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/*
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,40 +0,0 @@
FROM ubuntu:22.04
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/*
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
# Ruby 2.7.x and 3.0.x can not build against OpenSSL 3.0 which is the
# version with Ubuntu 22.04. This workaround installs OpenSSL 1.1.1q
# from source and builds.
#
# For further details see:
# - https://bugs.ruby-lang.org/issues/18658
# - https://github.com/rbenv/ruby-build/pull/1974
RUN curl -fsSL "https://www.openssl.org/source/openssl-1.1.1q.tar.gz" | tar -xzC /tmp \
&& cd /tmp/openssl-1.1.1q \
&& ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib \
&& make \
&& make install \
&& cd / \
&& rm -rf /tmp/openssl-1.1.1q /usr/local/openssl/certs \
&& ln -s /etc/ssl/certs /usr/local/openssl/
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp \
&& cd "/tmp/ruby-${RUBY_VERSION}" \
&& ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi --with-openssl-dir=/usr/local/openssl \
&& make \
&& make install \
&& cd / \
&& rm -rf "/tmp/ruby-${RUBY_VERSION}" \
&& gem install bundler --no-document --version 2.2.33

View file

@ -1,24 +0,0 @@
FROM debian:jessie
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 "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen C.UTF-8
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,23 +0,0 @@
FROM opensuse/leap:15.1
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 C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANGUAGE C
RUN localedef -i C -f UTF-8 C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,23 +0,0 @@
FROM opensuse/leap:15.2
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 C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANGUAGE C
RUN localedef -i C -f UTF-8 C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,23 +0,0 @@
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 C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANGUAGE C
RUN localedef -i C -f UTF-8 C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,45 +0,0 @@
FROM opensuse/leap:15.4 as builder-base
RUN zypper -q -n --gpg-auto-import-keys update
RUN zypper -q -n in -t pattern \
devel_basis \
devel_perl
RUN zypper -q -n install \
curl \
gcc \
gcc-c++ \
git \
glibc-i18ndata \
glibc-locale \
gzip \
hostname \
libopenssl-devel \
make \
zlib-devel
RUN zypper clean -a
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANGUAGE C
RUN localedef -i C -f UTF-8 C.UTF-8
FROM builder-base as builder-ruby
RUN zypper -q -n install \
readline-devel
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/ruby-${RUBY_VERSION}.tar.gz" \
| tar -xzC /tmp
WORKDIR "/tmp/ruby-${RUBY_VERSION}"
RUN ./configure --disable-install-rdoc --disable-install-doc --disable-install-capi
RUN make
RUN make install
WORKDIR /
RUN rm -rf "/tmp/ruby-${RUBY_VERSION}"
RUN gem install bundler --no-document --version 2.2.33
FROM builder-base
COPY --from=builder-ruby /usr/local /usr/local

View file

@ -1,25 +0,0 @@
FROM debian:stretch
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 "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen C.UTF-8
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,24 +0,0 @@
FROM debian:wheezy
RUN apt-get update -q \
&& apt-get install -y g++ gcc git make libc6-dev curl zlib1g-dev libssl-dev locales \
&& apt-get autoremove -yq \
&& apt-get clean -yqq \
&& rm -rf /var/lib/apt/lists/*
RUN echo "C.UTF-8 UTF-8" > /etc/locale.gen
RUN locale-gen C.UTF-8
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33

View file

@ -1,22 +0,0 @@
FROM ubuntu:16.04
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/*
ENV LANG C.UTF-8
ENV LANGUAGE C
ENV LC_ALL C.UTF-8
ENV RUBY_VERSION 2.7.5
RUN curl -fsSL "https://cache.ruby-lang.org/pub/ruby/2.7/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.33