From 9f29a23c00581656009713b7aab70751ef78e3211c6a7157464b0418a6cfdbb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 26 Apr 2023 08:15:31 +0000 Subject: [PATCH] [info=bc2583885a9ddac1dab078264028b8d0] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/ruby-3.2-image?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 32 ++++++++++++++++++++++++++++++++ _service | 15 +++++++++++++++ ruby-3.2-image.changes | 4 ++++ 5 files changed, 75 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 _service create mode 100644 ruby-3.2-image.changes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2577b33 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: opensuse/bci/ruby:3.2 +#!BuildTag: opensuse/bci/ruby:3.2-%RELEASE% +#!BuildTag: opensuse/bci/ruby:3 +#!BuildTag: opensuse/bci/ruby:3-%RELEASE% +#!BuildTag: opensuse/bci/ruby:latest + +FROM opensuse/tumbleweed:latest + +MAINTAINER openSUSE (https://www.opensuse.org/) + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=org.opensuse.bci.ruby +LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Ruby 3.2 Container Image" +LABEL org.opencontainers.image.description="Ruby 3.2 based on the openSUSE Tumbleweed Base Container Image." +LABEL org.opencontainers.image.version="3.2" +LABEL org.opencontainers.image.url="https://www.opensuse.org" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.vendor="openSUSE Project" +LABEL org.opencontainers.image.source="%SOURCEURL%" +LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/ruby:3.2-%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" + +LABEL com.suse.release-stage="released" +# endlabelprefix + +RUN set -euo pipefail; zypper -n in --no-recommends ruby3.2 ruby3.2-rubygem-bundler ruby3.2-devel util-linux curl git-core distribution-release gcc-c++ sqlite3-devel make awk timezone; zypper -n clean; rm -rf /var/log/* +ENV LANG="C.UTF-8" +ENV RUBY_VERSION="%%rb_ver%%" +ENV RUBY_MAJOR="%%rb_maj%%" + +RUN set -euo pipefail; sed -i 's/--format-executable/--no-format-executable/' /etc/gemrc diff --git a/_service b/_service new file mode 100644 index 0000000..689a058 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + + + Dockerfile + %%rb_ver%% + ruby3.2 + + + Dockerfile + %%rb_maj%% + ruby3.2 + minor + + \ No newline at end of file diff --git a/ruby-3.2-image.changes b/ruby-3.2-image.changes new file mode 100644 index 0000000..9ad40f2 --- /dev/null +++ b/ruby-3.2-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Apr 26 06:21:01 UTC 2023 - SUSE Update Bot + +- First version of the Ruby 3.2 BCI