Namespace
amd64
Image / Tag
linstor-controller:v1.22.0
Content Digest
sha256:0d705b1378d8b8912212b338c3623a4a201779e70d3cbac43720cf1b9ad48e8f
Details
Created

2023-04-17 16:27:45 +0200

Size

276 MB

Content Digest
Labels
  • architecture
    x86_64
  • build-date
    2023-03-28T04:02:10
  • com.redhat.component
    ubi8-container
  • com.redhat.license_terms
    https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
  • description
    LINSTOR's controller component
  • distribution-scope
    public
  • io.buildah.version
    1.27.3
  • io.k8s.description
    The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
  • io.k8s.display-name
    Red Hat Universal Base Image 8
  • io.openshift.expose-services
  • io.openshift.tags
    base rhel8
  • maintainer
    Red Hat, Inc.
  • name
    linstor-controller
  • release
    1
  • summary
    LINSTOR's controller component
  • url
    https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.7-1112
  • vcs-ref
    a995512a05037e3b60bbb1bf9fa6e394063131c3
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.22.0

Environment
INTERNAL_REPO

/etc/yum.repos.d/linbit-internal.repo

LINSTOR_VERSION

1.22.0

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PSK

https://packages.linbit.com/package-signing-pubkey.asc

container

oci


Layers

[#000] sha256:9f9d124e0ad7a21ee7144e79ed7c18c04d057afd0fa7835fd27a6f7f37fe6c58 - 25.99% (71.7 MB)

[#001] sha256:6369e64e73e1083fc66fe754fd3896e58fde185962eb80b376f7db00354f7268 - 0.0% (263 Bytes)

[#002] sha256:effa97f5d22232b86dfe84c846effa85d1e92d19ad9ee038edb22c98c2f16f5f - 0.0% (11.1 KB)

[#003] sha256:c251c4793864146d33228d453cce1303b9b12bea01285775be3c8e601bd833a0 - 21.94% (60.5 MB)

[#004] sha256:2d7a4a0082cde2fa3f2575ce2bcb3e278c82a23915e301c58cf6a619188653c0 - 43.57% (120 MB)

[#005] sha256:ab8566649c880d3b46983e4622113b69927e7c290fdcd7218ff7b852c1d0f23c - 1.54% (4.26 MB)

[#006] sha256:56c6a7963f964c31055efff23c30e730c4d5aff59ff5c91269cd5576e567e60d - 0.0% (306 Bytes)

[#007] sha256:280180d15796cb084c14f15507c16700eead679de2ebfdee22a921b550fe465a - 4.09% (11.3 MB)

[#008] sha256:e880acc37cfaf5b13aefbcf4d1b0565d42ec54af2b0b8bbaca8b675e20510168 - 2.86% (7.88 MB)

[#009] sha256:3efe30d43d16790cc287475bcc3d16c9d38ecc4303e02cdbd6d9cba54fee661e - 0.0% (604 Bytes)

[#010] sha256:12ed065fad3a54021f82869d307b2179ebd6de69cee5651adea6e7f8211878cb - 0.0% (1.64 KB)

[#011] sha256:425e4aee1ec0423bd72bcc74160ff3545c5faeb8f6726d0a03a44edfbdbf8a00 - 0.0% (180 Bytes)

[#012] sha256:f9b7455df35f8fae56453998b9f446d570faee73517fa38470ecd10dfea547bc - 0.0% (1.2 KB)

[#013] sha256:c9a9a7fe82890da01ecb30ae81249d3fdea9130f8997125fb04e6217c2fa717c - 0.0% (221 Bytes)

[#014] sha256:f0ca667f3f492f122456df483e3f1046dd730038594500952e7d9b0f07d36ea6 - 0.0% (944 Bytes)

[#015] sha256:fc81fe66902a23d6f8a87d12022cea7acec97cb066448828b51e3bdedc86310b - 0.0% (1.01 KB)


History
2023-03-28 04:15:32 UTC

/bin/sh -c #(nop) ADD file:5e1dc662d186ffa26925e3d4bda8048d179c86205cdab7ffb83d01214e99c451 in /

2023-03-28 04:15:32 UTC

/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) ADD file:214c1de395c24e4a86ef9a706069ef30a9e804c63f851c37c35655e16fea3ced in /tmp/tls-ca-bundle.pem

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) ADD multi:a0d591ea758c3bb2aae175a8339f129cffea7891ee98013252c960233e9aeaca in /etc/yum.repos.d/

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container" name="ubi8" version="8.7"

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 8."

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8"

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL io.openshift.expose-services=""

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel8"

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) ENV container oci

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-03-28 04:15:33 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2023-03-28 04:15:33 UTC

/bin/sh -c rm -rf /var/log/*

2023-03-28 04:15:34 UTC

/bin/sh -c mkdir -p /var/log/rhsm

2023-03-28 04:15:34 UTC

/bin/sh -c #(nop) LABEL release=1112

2023-03-28 04:15:34 UTC

/bin/sh -c #(nop) ADD file:45952f7f53274380560f5c2c5b1e49d7d6747341877f72a1afd84a91ff7a4c33 in /root/buildinfo/content_manifests/ubi8-container-8.7-1112.json

2023-03-28 04:15:35 UTC

/bin/sh -c #(nop) ADD file:98c87c6cedd79e1cabc4dd4651c5fa0624ca78fac337db4a4775b5707cdac658 in /root/buildinfo/Dockerfile-ubi8-8.7-1112

2023-03-28 04:15:35 UTC

/bin/sh -c #(nop) LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-03-28T04:02:10" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="a995512a05037e3b60bbb1bf9fa6e394063131c3" "io.k8s.description"="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.7-1112"

2023-03-28 04:15:35 UTC

/bin/sh -c rm -f '/etc/yum.repos.d/repo-1a3a9.repo' '/etc/yum.repos.d/repo-7eb39.repo'

2023-03-28 04:15:36 UTC

/bin/sh -c rm -f /tmp/tls-ca-bundle.pem

2023-03-28 04:15:37 UTC

/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :

2023-04-17 16:26:04 +0200 (buildkit.dockerfile.v0)

MAINTAINER Roland Kammerer <roland.kammerer@linbit.com>

2023-04-17 16:26:04 +0200 (buildkit.dockerfile.v0)

RUN /bin/sh -c echo "skip_missing_names_on_install=no" >> /etc/yum.conf # buildkit

2023-04-17 16:26:04 +0200 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.22.0

2023-04-17 16:26:04 +0200 (buildkit.dockerfile.v0)

ARG release=1

2023-04-17 16:26:04 +0200 (buildkit.dockerfile.v0)

LABEL name=linstor-controller vendor=LINBIT version=1.22.0 release=1 summary=LINSTOR's controller component description=LINSTOR's controller component

2023-04-17 16:26:05 +0200 (buildkit.dockerfile.v0)

COPY COPYING /licenses/gpl-3.0.txt # buildkit

2023-04-17 16:27:09 +0200 (buildkit.dockerfile.v0)

COPY /home/makepkg/rpmbuild/RPMS/noarch/*.rpm /tmp/ # buildkit

2023-04-17 16:27:29 +0200 (buildkit.dockerfile.v0)

RUN |1 release=1 /bin/sh -c yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical && yum install -y which openssl && yum install -y /tmp/linstor-common*.rpm /tmp/linstor-controller*.rpm && rm /tmp/*.rpm && yum clean all -y # buildkit

2023-04-17 16:27:29 +0200 (buildkit.dockerfile.v0)

ENV PSK=https://packages.linbit.com/package-signing-pubkey.asc

2023-04-17 16:27:30 +0200 (buildkit.dockerfile.v0)

RUN |1 release=1 /bin/sh -c curl "$PSK" >/tmp/psk.asc && rpm --import /tmp/psk.asc && rm /tmp/psk.asc # buildkit

2023-04-17 16:27:30 +0200 (buildkit.dockerfile.v0)

ENV INTERNAL_REPO=/etc/yum.repos.d/linbit-internal.repo

2023-04-17 16:27:31 +0200 (buildkit.dockerfile.v0)

RUN |1 release=1 /bin/sh -c printf '[linbit-internal]\nname=LINBIT Internal - $basearch\nbaseurl=https://nexus.at.linbit.com/repository/packages-linbit-com/yum/rhel8/drbd-9/$basearch\nenabled=1\ngpgcheck=1\ngpgkey=%s\n' "$PSK" | tee "$INTERNAL_REPO" # buildkit

2023-04-17 16:27:38 +0200 (buildkit.dockerfile.v0)

RUN |1 release=1 /bin/sh -c yum install -y linstor-gui linstor-client && yum clean all -y && rm "$INTERNAL_REPO" # buildkit

2023-04-17 16:27:38 +0200 (buildkit.dockerfile.v0)

ARG ARCH=amd64

2023-04-17 16:27:38 +0200 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.3.1

2023-04-17 16:27:40 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c curl --fail --location "https://github.com/LINBIT/k8s-await-election/releases/download/${K8S_AWAIT_ELECTION_VERSION}/k8s-await-election-${K8S_AWAIT_ELECTION_VERSION}-linux-${ARCH}.tar.gz" | tar -xvz -C /usr/local/bin/ # buildkit

2023-04-17 16:27:41 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c groupadd linstor # buildkit

2023-04-17 16:27:41 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c useradd -m -g linstor linstor # buildkit

2023-04-17 16:27:42 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c mkdir /var/log/linstor-controller # buildkit

2023-04-17 16:27:43 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c chown -R root:linstor /etc/linstor /var/lib/linstor /var/log/linstor-controller # buildkit

2023-04-17 16:27:44 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c chmod g+w /etc/linstor /var/lib/linstor /var/log/linstor-controller # buildkit

2023-04-17 16:27:45 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.3.1 /bin/sh -c sed -i 's#<!-- <appender-ref ref="FILE" /> -->#<appender-ref ref="FILE" />#' /usr/share/linstor-server/lib/conf/logback.xml # buildkit

2023-04-17 16:27:45 +0200 (buildkit.dockerfile.v0)

EXPOSE map[3370/tcp:{} 3371/tcp:{}]

2023-04-17 16:27:45 +0200 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2023-04-17 16:27:45 +0200 (buildkit.dockerfile.v0)

USER linstor

2023-04-17 16:27:45 +0200 (buildkit.dockerfile.v0)

CMD ["startController"]

2023-04-17 16:27:45 +0200 (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/local/bin/k8s-await-election" "/entry.sh"]