Namespace
amd64
Image / Tag
linstor-controller:latest
Content Digest
sha256:0413320a4801b32794862eead69c26f48dc2cf79e05253bd61e69adc29769255
Details
Created

2025-01-23 08:17:30 +0100

Size

325 MB

Content Digest
Labels
  • architecture
    x86_64
  • build-date
    2025-01-02T14:58:32
  • 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.33.8
  • 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.10-1161.1735829865
  • vcs-ref
    967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.30.3

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.30.3

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:c9235833a89975273e7867a752ce5173ab0ca7de03c01034167b3c41d1fb9cdb - 23.19% (75.3 MB)

[#001] sha256:9331897a798d2345223d2666c6f4f448810e1e0c57ba1ae6e21027634b9db544 - 0.0% (264 Bytes)

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

[#003] sha256:9eef9e2592c8cbafb74b1584422c9989bb0988bcf0bb82cee51260501d79e006 - 21.11% (68.6 MB)

[#004] sha256:e930f57e18c2865695f5bb3b6f903beefab48e95e514df9292b6b5e4b4865109 - 43.25% (140 MB)

[#005] sha256:f7805113eb74f010e63701a65ae2beb3021f3f8ca85252308c8e0a5525ecdf19 - 1.18% (3.84 MB)

[#006] sha256:723131c88f3495adf5197db85b4bdde1fe25c6d65a9c405ed542327b53f25466 - 0.0% (307 Bytes)

[#007] sha256:5ff1a447b141f460c7eb7c693d09c6db36f27170e283ffa6224f58c268e54c75 - 3.2% (10.4 MB)

[#008] sha256:c65cf73d7a4ffdb27b82c5eb9c2bda6b00f0915c0465fca8078489c2170bd7c1 - 3.03% (9.83 MB)

[#009] sha256:9084d7151e3c2f4079b400eaf764c203a23873fd412f1519c6d7d4ad2d60961e - 5.03% (16.4 MB)

[#010] sha256:111c7542dbf38c9c2005a51039663f2ff5d691a3bf8de04edaefa0da9fb0894b - 0.0% (574 Bytes)

[#011] sha256:907f01f8e15278567db13d8a7bab2cb7732b48c1d1465dc69c7f3177fc73b811 - 0.0% (1.24 KB)

[#012] sha256:d10be6be5083f3efb897888596713bcf7cfffc86309ac2357d934e5619c5cb71 - 0.0% (149 Bytes)

[#013] sha256:91dfd5fd1ab8439173c89fc8c136d64c8a6f6ba3087181b959c423057abeb71a - 0.0% (1.2 KB)

[#014] sha256:504b077cbf7b88a1876998d63af83d50a96479fc2f8772e8e4162aea2cb453c7 - 0.0% (226 Bytes)

[#015] sha256:5e260ec31c9163b8b5691479d6e9fe4906a62c1184c87c05bf70dce9833a6c69 - 0.0% (970 Bytes)

[#016] sha256:8c918533ab911fc1d939884fc540ad68267b64d5b10f731f72ca58b4670480b9 - 0.0% (1.69 KB)


History
2025-01-02 15:07:31 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 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."

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:32 UTC

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

2025-01-02 15:07:33 UTC

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

2025-01-02 15:07:33 UTC

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

2025-01-02 15:07:33 UTC

/bin/sh -c #(nop) ADD file:4414959dc75393a9222e05ff29a86db3db76c8ac6207c536f59bc22b1b00413a in /root/buildinfo/content_manifests/ubi8-container-8.10-1161.1735829865.json

2025-01-02 15:07:34 UTC

/bin/sh -c #(nop) ADD file:651e343c3ff11b4bdf6f4da0902f28665b4ad26c604c19db2d5a107756b5e18e in /root/buildinfo/Dockerfile-ubi8-8.10-1161.1735829865

2025-01-02 15:07:34 UTC

/bin/sh -c #(nop) LABEL "release"="1161.1735829865" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2025-01-02T14:58:32" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20" "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.10-1161.1735829865"

2025-01-02 15:07:34 UTC

/bin/sh -c rm -f '/etc/yum.repos.d/odcs-3787476-0531f.repo' '/etc/yum.repos.d/rhel-8.10-compose-0e878.repo'

2025-01-02 15:07:35 UTC

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

2025-01-02 15:07:37 UTC

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

2025-01-23 08:13:19 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:13:19 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:13:19 +0100 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.30.3

2025-01-23 08:13:19 +0100 (buildkit.dockerfile.v0)

ARG release=1

2025-01-23 08:13:19 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:13:19 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:16:52 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:16 +0100 (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

2025-01-23 08:17:16 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:16 +0100 (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

2025-01-23 08:17:16 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:17 +0100 (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

2025-01-23 08:17:24 +0100 (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

2025-01-23 08:17:24 +0100 (buildkit.dockerfile.v0)

ARG ARCH=amd64

2025-01-23 08:17:24 +0100 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.4.1

2025-01-23 08:17:25 +0100 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.4.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

2025-01-23 08:17:27 +0100 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.4.1 /bin/sh -c curl --fail --location "https://dl.k8s.io/$(curl --fail --location https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/${ARCH}/kubectl" -o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl # buildkit

2025-01-23 08:17:27 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:28 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:28 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:29 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:29 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:29 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:29 +0100 (buildkit.dockerfile.v0)

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

2025-01-23 08:17:30 +0100 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2025-01-23 08:17:30 +0100 (buildkit.dockerfile.v0)

USER linstor

2025-01-23 08:17:30 +0100 (buildkit.dockerfile.v0)

CMD ["startController"]

2025-01-23 08:17:30 +0100 (buildkit.dockerfile.v0)

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