mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add openSUSE Leap 15.4 image
This commit is contained in:
parent
376bd5e17d
commit
f484cdbba9
2 changed files with 48 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ omnibus-gitlab-opensuse15.2:
|
|||
omnibus-gitlab-opensuse15.3:
|
||||
extends: .build_and_deploy
|
||||
|
||||
omnibus-gitlab-opensuse15.4:
|
||||
extends: .build_and_deploy
|
||||
|
||||
omnibus-gitlab-stretch:
|
||||
extends: .build_and_deploy
|
||||
|
||||
|
|
|
|||
45
Dockerfile.omnibus-gitlab-opensuse15.4
Normal file
45
Dockerfile.omnibus-gitlab-opensuse15.4
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue