Add Ubuntu 22.04 build image

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2022-04-25 02:28:08 +00:00
parent 1f3a7b3722
commit cc2eed4aab
2 changed files with 31 additions and 6 deletions

View file

@ -33,9 +33,18 @@ gitlab-puppeteer:
kaniko:
extends: .build_and_deploy
omnibus-gitlab-xenial:
extends: .build_and_deploy
omnibus-gitlab-bionic:
extends: .build_and_deploy
omnibus-gitlab-focal:
extends: .build_and_deploy
omnibus-gitlab-jammy:
extends: .build_and_deploy
omnibus-gitlab-centos7:
extends: .build_and_deploy
@ -63,12 +72,6 @@ omnibus-gitlab-buster:
omnibus-gitlab-bullseye:
extends: .build_and_deploy
omnibus-gitlab-xenial:
extends: .build_and_deploy
omnibus-gitlab-focal:
extends: .build_and_deploy
omnibus-gitlab-amazonlinux2:
extends: .build_and_deploy

View file

@ -0,0 +1,22 @@
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
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