Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created August 22, 2023 00:18
Show Gist options
  • Save pvalena/4caf0873c714acc8e2b14dc6d88de315 to your computer and use it in GitHub Desktop.
Save pvalena/4caf0873c714acc8e2b14dc6d88de315 to your computer and use it in GitHub Desktop.
make build TARGET=fedora VERSIONS=3.2
make[1]: Entering directory '/home/lpcs/lpcsf-new/test/container/s2i-ruby-container'
VERSION="3.2" SKIP_SQUASH=1 OS=fedora CLEAN_AFTER= DOCKER_BUILD_CONTEXT=. OPENSHIFT_NAMESPACES="2.0" CUSTOM_REPO="" REGISTRY="quay.io/" /usr/bin/env bash common/build.sh
Built versions are: 3.2
-> Version 3.2: building image from 'Dockerfile.fedora' ...
-> Pulling image quay.io/fedora/s2i-base:38 before building image from Dockerfile.fedora.
Trying to pull quay.io/fedora/s2i-base:38...
Getting image source signatures
Copying blob f2638ddc9bda done
Copying blob 18ca996a454f done
Copying blob d5f395aab2eb done
Copying config 996d7a65a8 done
Writing manifest to image destination
Storing signatures
-> building using docker build --label io.openshift.builder-version="bbcc8d2" -f "$dockerfile" "${DOCKER_BUILD_CONTEXT}"
STEP 1/12: FROM quay.io/fedora/s2i-base:38
STEP 2/12: EXPOSE 8080
--> 2f035229537
STEP 3/12: ENV NAME=ruby RUBY_VERSION=3.2 RUBY_SHORT_VER=32 VERSION=0
--> 86fc6336d15
STEP 4/12: ENV SUMMARY="Platform for building and running Ruby $RUBY_VERSION applications" DESCRIPTION="Ruby $RUBY_VERSION available as container is a base platform for building and running various Ruby $RUBY_VERSION applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible."
--> 33a2eb0c653
STEP 5/12: LABEL summary="$SUMMARY" description="$DESCRIPTION" io.k8s.description="$DESCRIPTION" io.k8s.display-name="Ruby ${RUBY_VERSION}" io.openshift.expose-services="8080:http" io.openshift.tags="builder,ruby,ruby${RUBY_SHORT_VER}" com.redhat.component="$NAME" name="fedora/$NAME-$RUBY_SHORT_VER" version="$VERSION" usage="s2i build https://github.com/sclorg/s2i-ruby-container.git --context-dir=${RUBY_VERSION}/test/puma-test-app/ quay.io/fedora/$NAME-$RUBY_SHORT_VER ruby-sample-app" maintainer="SoftwareCollections.org <sclorg@redhat.com>"
--> 88d98814497
STEP 6/12: RUN INSTALL_PKGS="ruby ruby-devel rubygem-bundler ruby-bundled-gems rubygem-rake rubygems-devel redhat-rpm-config libffi-devel" && dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && ruby -v | grep -qe "^ruby $RUBY_VERSION\." && echo "Found VERSION $RUBY_VERSION" && dnf clean all
Fedora 38 - x86_64 19 MB/s | 83 MB 00:04
Fedora 38 openh264 (From Cisco) - x86_64 3.7 kB/s | 2.5 kB 00:00
Fedora Modular 38 - x86_64 5.2 MB/s | 2.8 MB 00:00
Fedora 38 - x86_64 - Updates 5.1 MB/s | 30 MB 00:05
Fedora Modular 38 - x86_64 - Updates 3.8 MB/s | 2.1 MB 00:00
Package libffi-devel-3.4.4-2.fc38.x86_64 is already installed.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
redhat-rpm-config noarch 252-1.fc38 fedora 83 k
ruby x86_64 3.2.2-180.fc38 updates 42 k
ruby-bundled-gems x86_64 3.2.2-180.fc38 updates 217 k
ruby-devel x86_64 3.2.2-180.fc38 updates 457 k
rubygem-bundler noarch 2.4.10-180.fc38 updates 434 k
rubygem-rake noarch 13.0.6-200.fc38.3 fedora 60 k
rubygems-devel noarch 3.4.10-180.fc38 updates 15 k
Installing dependencies:
annobin-docs noarch 12.23-1.fc38 updates 95 k
annobin-plugin-gcc x86_64 12.23-1.fc38 updates 959 k
ansible-srpm-macros noarch 1-10.fc38 updates 21 k
dwz x86_64 0.15-2.fc38 fedora 135 k
efi-srpm-macros noarch 5-7.fc38 fedora 22 k
file x86_64 5.44-3.fc38 fedora 49 k
fonts-srpm-macros noarch 1:2.0.5-11.fc38 fedora 26 k
fpc-srpm-macros noarch 1.3-7.fc38 fedora 7.8 k
gcc-plugin-annobin x86_64 13.2.1-1.fc38 updates 46 k
ghc-srpm-macros noarch 1.6.1-1.fc38 fedora 8.0 k
glibc-gconv-extra x86_64 2.37-4.fc38 updates 1.6 M
gnat-srpm-macros noarch 6-2.fc38 fedora 8.8 k
go-srpm-macros noarch 3.2.0-2.fc38 fedora 27 k
kernel-srpm-macros noarch 1.0-19.fc38 updates 10 k
lua-srpm-macros noarch 1-8.fc38 fedora 8.6 k
ocaml-srpm-macros noarch 7-3.fc38 fedora 13 k
openblas-srpm-macros noarch 2-13.fc38 fedora 7.5 k
package-notes-srpm-macros noarch 0.5-8.fc38 updates 11 k
perl-srpm-macros noarch 1-48.fc38 fedora 8.4 k
pyproject-srpm-macros noarch 1.9.0-1.fc38 updates 15 k
python-srpm-macros noarch 3.11-10.fc38 fedora 26 k
qt5-srpm-macros noarch 5.15.10-1.fc38 updates 8.2 k
rpmautospec-rpm-macros noarch 0.3.5-1.fc38 fedora 9.3 k
ruby-default-gems noarch 3.2.2-180.fc38 updates 43 k
ruby-libs x86_64 3.2.2-180.fc38 updates 4.0 M
rubygem-io-console x86_64 0.6.0-180.fc38 updates 25 k
rubygem-json x86_64 2.6.3-202.fc38 fedora 69 k
rubygem-psych x86_64 5.0.1-180.fc38 updates 59 k
rubygem-rdoc noarch 6.5.0-180.fc38 updates 488 k
rubygems noarch 3.4.10-180.fc38 updates 288 k
rubypick noarch 1.1.1-18.fc38 fedora 9.9 k
rust-srpm-macros noarch 24-5.fc38 updates 12 k
zip x86_64 3.0-36.fc38 fedora 265 k
Installing weak dependencies:
rubygem-bigdecimal x86_64 3.1.3-180.fc38 updates 69 k
rubygem-irb noarch 1.6.2-180.fc38 updates 95 k
Transaction Summary
================================================================================
Install 42 Packages
Total download size: 9.8 M
Installed size: 33 M
Downloading Packages:
(1/42): file-5.44-3.fc38.x86_64.rpm 331 kB/s | 49 kB 00:00
(2/42): efi-srpm-macros-5-7.fc38.noarch.rpm 125 kB/s | 22 kB 00:00
(3/42): dwz-0.15-2.fc38.x86_64.rpm 656 kB/s | 135 kB 00:00
(4/42): fonts-srpm-macros-2.0.5-11.fc38.noarch. 452 kB/s | 26 kB 00:00
(5/42): fpc-srpm-macros-1.3-7.fc38.noarch.rpm 257 kB/s | 7.8 kB 00:00
(6/42): ghc-srpm-macros-1.6.1-1.fc38.noarch.rpm 348 kB/s | 8.0 kB 00:00
(7/42): gnat-srpm-macros-6-2.fc38.noarch.rpm 382 kB/s | 8.8 kB 00:00
(8/42): go-srpm-macros-3.2.0-2.fc38.noarch.rpm 992 kB/s | 27 kB 00:00
(9/42): lua-srpm-macros-1-8.fc38.noarch.rpm 278 kB/s | 8.6 kB 00:00
(10/42): ocaml-srpm-macros-7-3.fc38.noarch.rpm 399 kB/s | 13 kB 00:00
(11/42): openblas-srpm-macros-2-13.fc38.noarch. 256 kB/s | 7.5 kB 00:00
(12/42): perl-srpm-macros-1-48.fc38.noarch.rpm 383 kB/s | 8.4 kB 00:00
(13/42): python-srpm-macros-3.11-10.fc38.noarch 1.2 MB/s | 26 kB 00:00
(14/42): redhat-rpm-config-252-1.fc38.noarch.rp 2.4 MB/s | 83 kB 00:00
(15/42): rpmautospec-rpm-macros-0.3.5-1.fc38.no 418 kB/s | 9.3 kB 00:00
(16/42): rubygem-json-2.6.3-202.fc38.x86_64.rpm 2.4 MB/s | 69 kB 00:00
(17/42): rubypick-1.1.1-18.fc38.noarch.rpm 397 kB/s | 9.9 kB 00:00
(18/42): rubygem-rake-13.0.6-200.fc38.3.noarch. 1.9 MB/s | 60 kB 00:00
(19/42): zip-3.0-36.fc38.x86_64.rpm 8.3 MB/s | 265 kB 00:00
(20/42): annobin-docs-12.23-1.fc38.noarch.rpm 4.8 MB/s | 95 kB 00:00
(21/42): annobin-plugin-gcc-12.23-1.fc38.x86_64 19 MB/s | 959 kB 00:00
(22/42): gcc-plugin-annobin-13.2.1-1.fc38.x86_6 1.5 MB/s | 46 kB 00:00
(23/42): ansible-srpm-macros-1-10.fc38.noarch.r 595 kB/s | 21 kB 00:00
(24/42): kernel-srpm-macros-1.0-19.fc38.noarch. 698 kB/s | 10 kB 00:00
(25/42): package-notes-srpm-macros-0.5-8.fc38.n 728 kB/s | 11 kB 00:00
(26/42): glibc-gconv-extra-2.37-4.fc38.x86_64.r 24 MB/s | 1.6 MB 00:00
(27/42): pyproject-srpm-macros-1.9.0-1.fc38.noa 298 kB/s | 15 kB 00:00
(28/42): qt5-srpm-macros-5.15.10-1.fc38.noarch. 165 kB/s | 8.2 kB 00:00
(29/42): ruby-3.2.2-180.fc38.x86_64.rpm 1.8 MB/s | 42 kB 00:00
(30/42): ruby-default-gems-3.2.2-180.fc38.noarc 1.9 MB/s | 43 kB 00:00
(31/42): ruby-bundled-gems-3.2.2-180.fc38.x86_6 7.4 MB/s | 217 kB 00:00
(32/42): rubygem-bigdecimal-3.1.3-180.fc38.x86_ 3.3 MB/s | 69 kB 00:00
(33/42): ruby-devel-3.2.2-180.fc38.x86_64.rpm 11 MB/s | 457 kB 00:00
(34/42): rubygem-bundler-2.4.10-180.fc38.noarch 3.3 MB/s | 434 kB 00:00
(35/42): rubygem-io-console-0.6.0-180.fc38.x86_ 221 kB/s | 25 kB 00:00
(36/42): ruby-libs-3.2.2-180.fc38.x86_64.rpm 23 MB/s | 4.0 MB 00:00
(37/42): rubygem-irb-1.6.2-180.fc38.noarch.rpm 4.5 MB/s | 95 kB 00:00
(38/42): rubygem-psych-5.0.1-180.fc38.x86_64.rp 2.3 MB/s | 59 kB 00:00
(39/42): rubygems-devel-3.4.10-180.fc38.noarch. 650 kB/s | 15 kB 00:00
(40/42): rubygems-3.4.10-180.fc38.noarch.rpm 8.8 MB/s | 288 kB 00:00
(41/42): rubygem-rdoc-6.5.0-180.fc38.noarch.rpm 11 MB/s | 488 kB 00:00
(42/42): rust-srpm-macros-24-5.fc38.noarch.rpm 777 kB/s | 12 kB 00:00
--------------------------------------------------------------------------------
Total 7.4 MB/s | 9.8 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : ruby-libs-3.2.2-180.fc38.x86_64 1/42
Installing : rubypick-1.1.1-18.fc38.noarch 2/42
Installing : ruby-3.2.2-180.fc38.x86_64 3/42
Installing : rubygem-bigdecimal-3.1.3-180.fc38.x86_64 4/42
Installing : ruby-default-gems-3.2.2-180.fc38.noarch 5/42
Installing : rubygem-bundler-2.4.10-180.fc38.noarch 6/42
Installing : rubygem-io-console-0.6.0-180.fc38.x86_64 7/42
Installing : rubygem-psych-5.0.1-180.fc38.x86_64 8/42
Installing : rubygems-3.4.10-180.fc38.noarch 9/42
Installing : rubygem-json-2.6.3-202.fc38.x86_64 10/42
Installing : rubygem-rdoc-6.5.0-180.fc38.noarch 11/42
Installing : rubygem-irb-1.6.2-180.fc38.noarch 12/42
Installing : rust-srpm-macros-24-5.fc38.noarch 13/42
Installing : qt5-srpm-macros-5.15.10-1.fc38.noarch 14/42
Installing : pyproject-srpm-macros-1.9.0-1.fc38.noarch 15/42
Installing : package-notes-srpm-macros-0.5-8.fc38.noarch 16/42
Installing : kernel-srpm-macros-1.0-19.fc38.noarch 17/42
Installing : gcc-plugin-annobin-13.2.1-1.fc38.x86_64 18/42
Installing : ansible-srpm-macros-1-10.fc38.noarch 19/42
Installing : annobin-docs-12.23-1.fc38.noarch 20/42
Installing : annobin-plugin-gcc-12.23-1.fc38.x86_64 21/42
Installing : zip-3.0-36.fc38.x86_64 22/42
Installing : rpmautospec-rpm-macros-0.3.5-1.fc38.noarch 23/42
Installing : perl-srpm-macros-1-48.fc38.noarch 24/42
Installing : openblas-srpm-macros-2-13.fc38.noarch 25/42
Installing : ocaml-srpm-macros-7-3.fc38.noarch 26/42
Installing : lua-srpm-macros-1-8.fc38.noarch 27/42
Installing : gnat-srpm-macros-6-2.fc38.noarch 28/42
Installing : ghc-srpm-macros-1.6.1-1.fc38.noarch 29/42
Installing : fpc-srpm-macros-1.3-7.fc38.noarch 30/42
Installing : file-5.44-3.fc38.x86_64 31/42
Installing : efi-srpm-macros-5-7.fc38.noarch 32/42
Installing : dwz-0.15-2.fc38.x86_64 33/42
Installing : fonts-srpm-macros-1:2.0.5-11.fc38.noarch 34/42
Installing : go-srpm-macros-3.2.0-2.fc38.noarch 35/42
Installing : python-srpm-macros-3.11-10.fc38.noarch 36/42
Installing : redhat-rpm-config-252-1.fc38.noarch 37/42
Running scriptlet: redhat-rpm-config-252-1.fc38.noarch 37/42
Installing : ruby-devel-3.2.2-180.fc38.x86_64 38/42
Installing : ruby-bundled-gems-3.2.2-180.fc38.x86_64 39/42
Installing : rubygems-devel-3.4.10-180.fc38.noarch 40/42
Installing : rubygem-rake-13.0.6-200.fc38.3.noarch 41/42
Installing : glibc-gconv-extra-2.37-4.fc38.x86_64 42/42
Running scriptlet: glibc-gconv-extra-2.37-4.fc38.x86_64 42/42
Verifying : dwz-0.15-2.fc38.x86_64 1/42
Verifying : efi-srpm-macros-5-7.fc38.noarch 2/42
Verifying : file-5.44-3.fc38.x86_64 3/42
Verifying : fonts-srpm-macros-1:2.0.5-11.fc38.noarch 4/42
Verifying : fpc-srpm-macros-1.3-7.fc38.noarch 5/42
Verifying : ghc-srpm-macros-1.6.1-1.fc38.noarch 6/42
Verifying : gnat-srpm-macros-6-2.fc38.noarch 7/42
Verifying : go-srpm-macros-3.2.0-2.fc38.noarch 8/42
Verifying : lua-srpm-macros-1-8.fc38.noarch 9/42
Verifying : ocaml-srpm-macros-7-3.fc38.noarch 10/42
Verifying : openblas-srpm-macros-2-13.fc38.noarch 11/42
Verifying : perl-srpm-macros-1-48.fc38.noarch 12/42
Verifying : python-srpm-macros-3.11-10.fc38.noarch 13/42
Verifying : redhat-rpm-config-252-1.fc38.noarch 14/42
Verifying : rpmautospec-rpm-macros-0.3.5-1.fc38.noarch 15/42
Verifying : rubygem-json-2.6.3-202.fc38.x86_64 16/42
Verifying : rubygem-rake-13.0.6-200.fc38.3.noarch 17/42
Verifying : rubypick-1.1.1-18.fc38.noarch 18/42
Verifying : zip-3.0-36.fc38.x86_64 19/42
Verifying : annobin-docs-12.23-1.fc38.noarch 20/42
Verifying : annobin-plugin-gcc-12.23-1.fc38.x86_64 21/42
Verifying : ansible-srpm-macros-1-10.fc38.noarch 22/42
Verifying : gcc-plugin-annobin-13.2.1-1.fc38.x86_64 23/42
Verifying : glibc-gconv-extra-2.37-4.fc38.x86_64 24/42
Verifying : kernel-srpm-macros-1.0-19.fc38.noarch 25/42
Verifying : package-notes-srpm-macros-0.5-8.fc38.noarch 26/42
Verifying : pyproject-srpm-macros-1.9.0-1.fc38.noarch 27/42
Verifying : qt5-srpm-macros-5.15.10-1.fc38.noarch 28/42
Verifying : ruby-3.2.2-180.fc38.x86_64 29/42
Verifying : ruby-bundled-gems-3.2.2-180.fc38.x86_64 30/42
Verifying : ruby-default-gems-3.2.2-180.fc38.noarch 31/42
Verifying : ruby-devel-3.2.2-180.fc38.x86_64 32/42
Verifying : ruby-libs-3.2.2-180.fc38.x86_64 33/42
Verifying : rubygem-bigdecimal-3.1.3-180.fc38.x86_64 34/42
Verifying : rubygem-bundler-2.4.10-180.fc38.noarch 35/42
Verifying : rubygem-io-console-0.6.0-180.fc38.x86_64 36/42
Verifying : rubygem-irb-1.6.2-180.fc38.noarch 37/42
Verifying : rubygem-psych-5.0.1-180.fc38.x86_64 38/42
Verifying : rubygem-rdoc-6.5.0-180.fc38.noarch 39/42
Verifying : rubygems-3.4.10-180.fc38.noarch 40/42
Verifying : rubygems-devel-3.4.10-180.fc38.noarch 41/42
Verifying : rust-srpm-macros-24-5.fc38.noarch 42/42
Installed:
annobin-docs-12.23-1.fc38.noarch
annobin-plugin-gcc-12.23-1.fc38.x86_64
ansible-srpm-macros-1-10.fc38.noarch
dwz-0.15-2.fc38.x86_64
efi-srpm-macros-5-7.fc38.noarch
file-5.44-3.fc38.x86_64
fonts-srpm-macros-1:2.0.5-11.fc38.noarch
fpc-srpm-macros-1.3-7.fc38.noarch
gcc-plugin-annobin-13.2.1-1.fc38.x86_64
ghc-srpm-macros-1.6.1-1.fc38.noarch
glibc-gconv-extra-2.37-4.fc38.x86_64
gnat-srpm-macros-6-2.fc38.noarch
go-srpm-macros-3.2.0-2.fc38.noarch
kernel-srpm-macros-1.0-19.fc38.noarch
lua-srpm-macros-1-8.fc38.noarch
ocaml-srpm-macros-7-3.fc38.noarch
openblas-srpm-macros-2-13.fc38.noarch
package-notes-srpm-macros-0.5-8.fc38.noarch
perl-srpm-macros-1-48.fc38.noarch
pyproject-srpm-macros-1.9.0-1.fc38.noarch
python-srpm-macros-3.11-10.fc38.noarch
qt5-srpm-macros-5.15.10-1.fc38.noarch
redhat-rpm-config-252-1.fc38.noarch
rpmautospec-rpm-macros-0.3.5-1.fc38.noarch
ruby-3.2.2-180.fc38.x86_64
ruby-bundled-gems-3.2.2-180.fc38.x86_64
ruby-default-gems-3.2.2-180.fc38.noarch
ruby-devel-3.2.2-180.fc38.x86_64
ruby-libs-3.2.2-180.fc38.x86_64
rubygem-bigdecimal-3.1.3-180.fc38.x86_64
rubygem-bundler-2.4.10-180.fc38.noarch
rubygem-io-console-0.6.0-180.fc38.x86_64
rubygem-irb-1.6.2-180.fc38.noarch
rubygem-json-2.6.3-202.fc38.x86_64
rubygem-psych-5.0.1-180.fc38.x86_64
rubygem-rake-13.0.6-200.fc38.3.noarch
rubygem-rdoc-6.5.0-180.fc38.noarch
rubygems-3.4.10-180.fc38.noarch
rubygems-devel-3.4.10-180.fc38.noarch
rubypick-1.1.1-18.fc38.noarch
rust-srpm-macros-24-5.fc38.noarch
zip-3.0-36.fc38.x86_64
Complete!
Found VERSION 3.2
42 files removed
--> 9f7318c212c
STEP 7/12: COPY ./s2i/bin/ $STI_SCRIPTS_PATH
--> 37440efc5c6
STEP 8/12: COPY ./root/ /
--> 840fa5be8da
STEP 9/12: RUN chown -R 1001:0 ${APP_ROOT} && chmod -R ug+rwx ${APP_ROOT} && rpm-file-permissions
--> 095402ffaf5
STEP 10/12: USER 1001
--> 8641a13cab0
STEP 11/12: CMD $STI_SCRIPTS_PATH/usage
--> 5bd6ec4d731
STEP 12/12: LABEL "io.openshift.builder-version"="bbcc8d2"
COMMIT
--> 3823e816354
3823e816354ef8764d029540121a419feb3d8ff6b252e1b5eca1f78c1b9bc3b5
ruby 3.2 => 3823e816354ef8764d029540121a419feb3d8ff6b252e1b5eca1f78c1b9bc3b5
make[1]: Leaving directory '/home/lpcs/lpcsf-new/test/container/s2i-ruby-container'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment