Namespace
Image / Tag
linstor-controller:v1.32.2
Content Digest
sha256:9035f9be34b1c5b5d8c25dc92f6459aaaa2b33da7c15eda1ea462f74f7259df8
Details
Created

2025-10-14 16:10:36 +0200

Size

332 MB

Content Digest
Labels
  • architecture
    x86_64
  • build-date
    2025-10-07T20:24:01Z
  • com.redhat.component
    ubi8-container
  • com.redhat.license_terms
    https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
  • cpe
    cpe:/a:redhat:enterprise_linux:8::appstream
  • description
    LINSTOR's controller component
  • distribution-scope
    public
  • io.buildah.version
    1.41.4
  • 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
  • org.opencontainers.image.revision
    59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3
  • release
    1
  • summary
    LINSTOR's controller component
  • url
    https://catalog.redhat.com/en/search?searchType=containers
  • vcs-ref
    59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.32.2

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.32.2

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:254f9b5395542fa1ae2d17922e84137ea64077345992c94b90a60af52451ae47 - 22.38% (74.2 MB)

[#001] sha256:278d01a306e823022a000f721c82d1ac82d54a8779bdc99a9e45ca890167d9f2 - 0.0% (262 Bytes)

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

[#003] sha256:53792ea4194be646d2a6d5267e3d6d52f0b293dcffdce3902cbb6b67392b8fec - 23.81% (79 MB)

[#004] sha256:4be3e9c05ccc481f7a740061a6b75ce88c6f6c1359fe9fbaff7d3447c4ffe5c5 - 42.72% (142 MB)

[#005] sha256:a217fe240a0e6a58955a2254954c29400041507154826a802c1cd401ebae13e8 - 1.16% (3.85 MB)

[#006] sha256:1b579f26f857e420591c110bdcb951aef61221c0f34aae2e0ea42489377dfd93 - 0.0% (304 Bytes)

[#007] sha256:3136ea843f4e6946779b539af55173e093f133b230b588ffc70fff90b6137717 - 2.08% (6.91 MB)

[#008] sha256:d06a7b57b878998d38a0cd0d47bef54155bb4fc85beba3cf0a85e5ab012104c9 - 2.64% (8.75 MB)

[#009] sha256:12c1375466a04841a2e838e4e1f30eae3719bb06495eeeb49b37e89b62e52d00 - 5.2% (17.3 MB)

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

[#011] sha256:c28319231b189927f344260c7564c48cfaa78dc196c9cd9c8ae3d59583c55965 - 0.0% (1.23 KB)

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

[#013] sha256:fb5d4c0ae90876fd96b24101ccaedfbe8d424a24027486c2a53fcf41f8113004 - 0.0% (1.28 KB)

[#014] sha256:7c51714a784b5237f42fd8d4640756a947e8dc0f05ea770c14b04894c04de60d - 0.0% (222 Bytes)

[#015] sha256:96b9c45677b596bf9fb66acc4c5e6404d232a59dd1051d778e66073212dfa01f - 0.0% (967 Bytes)

[#016] sha256:743ad6109274bf32bc7c6a6cc0374975c1c462071ecc1310ce56c371a2cd0415 - 0.0% (1.7 KB)


History
2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:22 UTC

/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"

2025-10-07 20:24:22 UTC

/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container" name="ubi8/ubi" version="8.10" cpe="cpe:/a:redhat:enterprise_linux:8::appstream" distribution-scope="public"

2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:22 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-10-07 20:24:22 UTC

/bin/sh -c #(nop) LABEL 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."

2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:22 UTC

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

2025-10-07 20:24:24 UTC

/bin/sh -c #(nop) COPY dir:50c3692dd70f1f49a514dad25ce4a5ebbb8ff3e025411ce76ea9f290b58ee2ed in /

2025-10-07 20:24:24 UTC

/bin/sh -c #(nop) COPY file:67f65df33ff6c09984969b192c50b78072a88c5655e380e734315d0229c75aa1 in /etc/yum.repos.d/.

2025-10-07 20:24:24 UTC

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

2025-10-07 20:24:24 UTC

/bin/sh -c #(nop) COPY file:3ab5c2f18f7b2afc9a63033cf6d7fedd5acc6eb94e3217a2863e790bced26b9d in /usr/share/buildinfo/content-sets.json

2025-10-07 20:24:24 UTC

/bin/sh -c #(nop) COPY file:3ab5c2f18f7b2afc9a63033cf6d7fedd5acc6eb94e3217a2863e790bced26b9d in /root/buildinfo/content_manifests/content-sets.json

2025-10-07 20:24:24 UTC

/bin/sh -c #(nop) COPY file:b1ae734185ac4f13c0cdfa12ca35f6087f41717653ffa289ed663b6820558308 in /root/buildinfo/labels.json

2025-10-07 20:24:25 UTC

/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3" "org.opencontainers.image.revision"="59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3" "build-date"="2025-10-07T20:24:01Z" "release"="1759868560"org.opencontainers.image.revision=59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.32.2

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

ARG release=1

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:58 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:20 +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

2025-10-14 16:10:20 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:21 +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

2025-10-14 16:10:21 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:21 +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

2025-10-14 16:10:27 +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

2025-10-14 16:10:27 +0200 (buildkit.dockerfile.v0)

ARG ARCH=amd64

2025-10-14 16:10:27 +0200 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.4.2

2025-10-14 16:10:28 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=amd64 K8S_AWAIT_ELECTION_VERSION=v0.4.2 /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-10-14 16:10:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

EXPOSE &{[{{90 0} {90 0}}] 0xc004717040}

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

USER linstor

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

CMD ["startController"]

2025-10-14 16:10:36 +0200 (buildkit.dockerfile.v0)

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

Details
Created

2025-10-14 16:09:34 +0200

Size

326 MB

Content Digest
Labels
  • architecture
    aarch64
  • build-date
    2025-10-07T20:28:24Z
  • com.redhat.component
    ubi8-container
  • com.redhat.license_terms
    https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
  • cpe
    cpe:/a:redhat:enterprise_linux:8::appstream
  • description
    LINSTOR's controller component
  • distribution-scope
    public
  • io.buildah.version
    1.41.4
  • 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
  • org.opencontainers.image.revision
    59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3
  • release
    1
  • summary
    LINSTOR's controller component
  • url
    https://catalog.redhat.com/en/search?searchType=containers
  • vcs-ref
    59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.32.2

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.32.2

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:4943bac8bd7d2930339c8bb1dd49a8d88adbf55b77c386c6ffeb7bdb69cda659 - 22.14% (72.3 MB)

[#001] sha256:3ea5420ce93466d4d4628c258c44724781f8d8f936c9fac9b138fbbe9712dd6b - 0.0% (263 Bytes)

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

[#003] sha256:e107068864623a633440fa9e27ce7ae4f2b0855990e6cbfbc83e69288482aa11 - 24.19% (79 MB)

[#004] sha256:67afdc0e6908a68a265251410f09b86391828c2e7677e68a2f4fdfa8970ee9a2 - 43.21% (141 MB)

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

[#006] sha256:3eec3392b90721edd44d6f7a09b0d50bbf15934682fd86fc9f8455ef41f36347 - 0.0% (303 Bytes)

[#007] sha256:6a4418ee2c9d617cd2f6ebaab5e53cb0cb50f3beb919618b7f916dae061fa232 - 2.1% (6.87 MB)

[#008] sha256:a0cac400b7fb00c05f11fd40ffff1d486cef7335bdd88d374fdf9d937da51354 - 2.36% (7.69 MB)

[#009] sha256:603945cd5bc7ed54b256edc5b0797ab9ab33830c4afcd3300f68c278baef4500 - 4.81% (15.7 MB)

[#010] sha256:35b5f37a9265eb3b6bf53b48e752511c39d602a370b27b7582d752610badebc8 - 0.0% (573 Bytes)

[#011] sha256:4d08b9a909145aebe13f1a736a2b637a4ed0a7e8ccb912917880808bd95d006a - 0.0% (1.23 KB)

[#012] sha256:6c08e0a7dc1b8ea233afeccaeab3edddc21959779fe0d7cb935e0a55b55cde42 - 0.0% (148 Bytes)

[#013] sha256:65fb2b6467230394f0863db8eb1e8bbb845832f8146fe213beb01d546ec2adad - 0.0% (1.28 KB)

[#014] sha256:0a02d88b75588afde68f03686547679dcdaed3f0503ad46db146644722db3b24 - 0.0% (223 Bytes)

[#015] sha256:f89a72e2896c691d3d66ba09e2a210c082d11627e7ff3e0d562efa9a02326633 - 0.0% (964 Bytes)

[#016] sha256:743ad6109274bf32bc7c6a6cc0374975c1c462071ecc1310ce56c371a2cd0415 - 0.0% (1.7 KB)


History
2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:46 UTC

/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"

2025-10-07 20:28:46 UTC

/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container" name="ubi8/ubi" version="8.10" cpe="cpe:/a:redhat:enterprise_linux:8::appstream" distribution-scope="public"

2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:46 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-10-07 20:28:46 UTC

/bin/sh -c #(nop) LABEL 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."

2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:46 UTC

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

2025-10-07 20:28:50 UTC

/bin/sh -c #(nop) COPY dir:2fe86933b377db78eccd3f617ee3278646abbd5f80c899cdd5ab17ff252259f9 in /

2025-10-07 20:28:50 UTC

/bin/sh -c #(nop) COPY file:67f65df33ff6c09984969b192c50b78072a88c5655e380e734315d0229c75aa1 in /etc/yum.repos.d/.

2025-10-07 20:28:50 UTC

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

2025-10-07 20:28:50 UTC

/bin/sh -c #(nop) COPY file:3ab5c2f18f7b2afc9a63033cf6d7fedd5acc6eb94e3217a2863e790bced26b9d in /usr/share/buildinfo/content-sets.json

2025-10-07 20:28:50 UTC

/bin/sh -c #(nop) COPY file:3ab5c2f18f7b2afc9a63033cf6d7fedd5acc6eb94e3217a2863e790bced26b9d in /root/buildinfo/content_manifests/content-sets.json

2025-10-07 20:28:50 UTC

/bin/sh -c #(nop) COPY file:6776bb24c0f1ba1ddb63acc484e06c4b1cc27f153897df2a80dabeb62184c059 in /root/buildinfo/labels.json

2025-10-07 20:28:51 UTC

/bin/sh -c #(nop) LABEL "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3" "org.opencontainers.image.revision"="59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3" "build-date"="2025-10-07T20:28:24Z" "release"="1759868560"org.opencontainers.image.revision=59591c7c8fb8a7cd744a2cdddfd5d2fe5f2084d3

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.32.2

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

ARG release=1

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:08:35 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:13 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:26 +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

2025-10-14 16:09:26 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:26 +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

2025-10-14 16:09:26 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:26 +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

2025-10-14 16:09:29 +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

2025-10-14 16:09:29 +0200 (buildkit.dockerfile.v0)

ARG ARCH=arm64

2025-10-14 16:09:29 +0200 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.4.2

2025-10-14 16:09:30 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=arm64 K8S_AWAIT_ELECTION_VERSION=v0.4.2 /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-10-14 16:09:33 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:33 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:33 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:33 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

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

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

USER linstor

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

CMD ["startController"]

2025-10-14 16:09:34 +0200 (buildkit.dockerfile.v0)

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