Skip to content

Instantly share code, notes, and snippets.

@richm
Created October 9, 2019 18:04
Show Gist options
  • Save richm/0babdb4a4803d0dde016a7572792b54f to your computer and use it in GitHub Desktop.
Save richm/0babdb4a4803d0dde016a7572792b54f to your computer and use it in GitHub Desktop.
+ pushd /home/fedora/go/src/github.com/openshift/cluster-logging-operator
+ make image
/home/fedora/go/bin/imagebuilder
++ dirname hack/build-image.sh
...
+ repodir=/home/fedora/openshift-clusters/cluster.1570643004/repos
+ mountarg='-mount /home/fedora/openshift-clusters/cluster.1570643004/repos:/etc/yum.repos.d/'
+ echo building image quay.io/openshift/origin-cluster-logging-operator:latest - this may take a few minutes until you see any output . . .
building image quay.io/openshift/origin-cluster-logging-operator:latest - this may take a few minutes until you see any output . . .
+ imagebuilder -mount /home/fedora/openshift-clusters/cluster.1570643004/repos:/etc/yum.repos.d/ -t quay.io/openshift/origin-cluster-logging-operator:latest .
--> FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 as builder
--> WORKDIR /go/src/github.com/openshift/cluster-logging-operator
--> COPY . .
--> RUN make
--> FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base as 1
--> ARG CSV=4.3
--> RUN INSTALL_PKGS=" openssl " && yum install -y $INSTALL_PKGS && rpm -V $INSTALL_PKGS && yum clean all && mkdir /tmp/_working_dir && chmod og+w /tmp/_working_dir
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
This system is not receiving updates. You can use subscription-manager on the host to register and assign subscriptions.
Resolving Dependencies
--> Running transaction check
---> Package openssl.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-19.el7 for package: 1:openssl-1.0.2k-19.el7.x86_64
--> Processing Dependency: make for package: 1:openssl-1.0.2k-19.el7.x86_64
--> Running transaction check
---> Package make.x86_64 1:3.82-24.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 will be updated
---> Package openssl-libs.x86_64 1:1.0.2k-19.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
openssl x86_64 1:1.0.2k-19.el7 rhel-server 493 k
Installing for dependencies:
make x86_64 1:3.82-24.el7 rhel-server 421 k
Updating for dependencies:
openssl-libs x86_64 1:1.0.2k-19.el7 rhel-server 1.2 M
Transaction Summary
================================================================================
Install 1 Package (+1 Dependent package)
Upgrade ( 1 Dependent package)
Total download size: 2.1 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 2.4 MB/s | 2.1 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:make-3.82-24.el7.x86_64 1/4
Updating : 1:openssl-libs-1.0.2k-19.el7.x86_64 2/4
Installing : 1:openssl-1.0.2k-19.el7.x86_64 3/4
Cleanup : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64 4/4
Verifying : 1:openssl-libs-1.0.2k-19.el7.x86_64 1/4
Verifying : 1:openssl-1.0.2k-19.el7.x86_64 2/4
Verifying : 1:make-3.82-24.el7.x86_64 3/4
Verifying : 1:openssl-libs-1.0.2k-16.el7_6.1.x86_64 4/4
Installed:
openssl.x86_64 1:1.0.2k-19.el7
Dependency Installed:
make.x86_64 1:3.82-24.el7
Dependency Updated:
openssl-libs.x86_64 1:1.0.2k-19.el7
Complete!
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
This system is not receiving updates. You can use subscription-manager on the host to register and assign subscriptions.
Cleaning repos: rhel-fast-datapath rhel-server rhel-server-extras
: rhel-server-optional rhel-server-ose rhel-server-rhscl
--> COPY --from=builder _output/bin/cluster-logging-operator /usr/bin/
--> COPY scripts/* /usr/bin/scripts/
--> RUN mkdir -p /usr/share/logging/
--> COPY files/ /usr/share/logging/
--> COPY manifests/$CSV /manifests/$CSV
--> COPY manifests/cluster-logging.package.yaml /manifests/
--> WORKDIR /usr/bin
--> ENTRYPOINT ["/usr/bin/cluster-logging-operator"]
--> LABEL io.k8s.display-name="OpenShift cluster-logging-operator" io.k8s.description="This is a component of OpenShift Container Platform that manages the lifecycle of the Aggregated logging stack." io.openshift.tags="openshift,logging,cluster-logging" com.redhat.delivery.appregistry=true maintainer="AOS Logging <[email protected]>"
--> Committing changes to quay.io/openshift/origin-cluster-logging-operator:latest ...
--> Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment