Namespace
Image / Tag
linstor-controller:v1.31.3
Content Digest
sha256:20bd9187d49a9940f2c172a932ffb0594e5bef197103fc897f4957613a6b4e74
Details
Created

2025-07-10 08:11:51 +0200

Size

321 MB

Content Digest
Labels
  • architecture
    x86_64
  • build-date
    2025-07-02T08:07:05
  • 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.41.0-dev
  • 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://www.redhat.com
  • vcs-ref
    80904ba5d09aff23f1c0ee015a2c40c8fd067305
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.31.3

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.31.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:2de8e33c7860f2caf2af1f4f50eda8ebc71731ccce82a34017d892c68f4ef7e7 - 23.11% (74.2 MB)

[#001] sha256:135808e2f8fedeae16a9ca15eb8c4a47f8d946a1da53cdf85771b6417dd9cafc - 0.0% (262 Bytes)

[#002] sha256:b336d5cb9e91425e71b6dd79e97adbad6c006de4d1d512fa77e9dd003ff5c376 - 0.0% (11 KB)

[#003] sha256:fb73e735163e3c32cf2b04c507a794e20fd6ad61ef73b6c4cfcc32abf9b51733 - 21.4% (68.7 MB)

[#004] sha256:7fb4994c27518b3c0a50ad0e2cdf9f8ab72dc32534b0cbb4604eceba7b8b48e3 - 43.97% (141 MB)

[#005] sha256:27efcca6ac1764f59901092af901a0627eb2ea1e825e471294032a3f80f7c62f - 1.2% (3.86 MB)

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

[#007] sha256:f7e84803d0c2673fa6bc4dcf66b59de0257559c74be3081446510be2e6951816 - 2.15% (6.9 MB)

[#008] sha256:412e748627063e02b84c1e59f2da307369276b6e39553ed5985af961ed10385e - 3.06% (9.83 MB)

[#009] sha256:5375db47cd8a50c1981add13aa1e1965bdf46b82cacfdbd194dd0f462505dff4 - 5.1% (16.4 MB)

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

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

[#012] sha256:2a7c8aa96d3329545d5177e6a11440e1f43623af08582561ca43f9dd4905cf4a - 0.0% (148 Bytes)

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

[#014] sha256:cea52f210571304727d3ac4c14a73012d2ba09c7ca71fdd1b7e8763f5097a1f0 - 0.0% (221 Bytes)

[#015] sha256:f2f9c23ff24ce82ce31b736c4ff64b1e35ef9d3c91fbf7a96f613c3ecfdea55e - 0.0% (966 Bytes)

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


History
2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 UTC

/bin/sh -c #(nop) LABEL url="https://www.redhat.com"

2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 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-07-02 08:07:25 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-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:25 UTC

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

2025-07-02 08:07:26 UTC

/bin/sh -c #(nop) COPY dir:9a53bf39a4a9a4b5d8d1ffc28ee0a7e539f6729bbbd88793a497e84c10b8c07e in /

2025-07-02 08:07:26 UTC

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

2025-07-02 08:07:26 UTC

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

2025-07-02 08:07:27 UTC

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

2025-07-02 08:07:27 UTC

/bin/sh -c #(nop) LABEL "build-date"="2025-07-02T08:07:05" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="80904ba5d09aff23f1c0ee015a2c40c8fd067305" "release"="1751443566"

2025-07-10 08:07:15 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:07:15 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:07:15 +0200 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.31.3

2025-07-10 08:07:15 +0200 (buildkit.dockerfile.v0)

ARG release=1

2025-07-10 08:07:15 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:07:15 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:11:15 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:11:37 +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-07-10 08:11:37 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:11:38 +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-07-10 08:11:38 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:11:38 +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-07-10 08:11:45 +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-07-10 08:11:45 +0200 (buildkit.dockerfile.v0)

ARG ARCH=amd64

2025-07-10 08:11:45 +0200 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.4.1

2025-07-10 08:11:46 +0200 (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-07-10 08:11:48 +0200 (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-07-10 08:11:49 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:11:49 +0200 (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-07-10 08:11:49 +0200 (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-07-10 08:11:50 +0200 (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-07-10 08:11:50 +0200 (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-07-10 08:11:51 +0200 (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-07-10 08:11:51 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:11:51 +0200 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2025-07-10 08:11:51 +0200 (buildkit.dockerfile.v0)

USER linstor

2025-07-10 08:11:51 +0200 (buildkit.dockerfile.v0)

CMD ["startController"]

2025-07-10 08:11:51 +0200 (buildkit.dockerfile.v0)

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

Details
Created

2025-07-10 08:53:36 +0200

Size

316 MB

Content Digest
Labels
  • architecture
    aarch64
  • build-date
    2025-07-02T08:11:49
  • 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.41.0-dev
  • 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://www.redhat.com
  • vcs-ref
    80904ba5d09aff23f1c0ee015a2c40c8fd067305
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.31.3

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.31.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:8cd32ee44c2215b3ae67bb4f530d9a8d05b84349c56b4c0ec28145094fc7146b - 22.88% (72.3 MB)

[#001] sha256:13fe59773b84326c33adf953546d1eb4599e416f4641f2e381aec17c74d7a450 - 0.0% (260 Bytes)

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

[#003] sha256:26eb35843fcc1ec8bde74b37b9a73cc1f995c4a26b61ff37e501203a720f659b - 21.74% (68.7 MB)

[#004] sha256:499630202b7d5181f889cbbba08ea89ab2f8a3b8ce1a63fcdf6d8fb97cce855f - 44.46% (141 MB)

[#005] sha256:8beea28153058d30cb0c20e9124897fd7f0f8d747ee9253f0e141c6982095699 - 1.22% (3.85 MB)

[#006] sha256:5d3daed496d1906c25924997b92704df2c0fa146d62409f152e7550ab56937ee - 0.0% (304 Bytes)

[#007] sha256:f39da9a5409945580de848f6a9052145695524ad728b36166429663506e20ff9 - 2.18% (6.87 MB)

[#008] sha256:171316e8b21c60555f6d35b301a54ef1947fd81747cfa4ff06c7f5d298b3e18f - 2.8% (8.83 MB)

[#009] sha256:d3c636ec24ba4254faa20a248baf1786428ba298a23189fdf06067e24700ae0d - 4.73% (14.9 MB)

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

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

[#012] sha256:9e55d0cf0275bc7dec393b87e405697f9545fdcc889dac88a4a5b36abfc2997a - 0.0% (148 Bytes)

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

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

[#015] sha256:d636d29e6c3730c1be899e25ca95eb165eb6981a2b43e1bee9e2302c37ce207e - 0.0% (968 Bytes)

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


History
2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 UTC

/bin/sh -c #(nop) LABEL url="https://www.redhat.com"

2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 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-07-02 08:12:11 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-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:11 UTC

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

2025-07-02 08:12:14 UTC

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

2025-07-02 08:12:14 UTC

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

2025-07-02 08:12:14 UTC

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

2025-07-02 08:12:14 UTC

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

2025-07-02 08:12:15 UTC

/bin/sh -c #(nop) LABEL "build-date"="2025-07-02T08:11:49" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="80904ba5d09aff23f1c0ee015a2c40c8fd067305" "release"="1751443566"

2025-07-10 08:49:59 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:49:59 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:49:59 +0200 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.31.3

2025-07-10 08:49:59 +0200 (buildkit.dockerfile.v0)

ARG release=1

2025-07-10 08:49:59 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:49:59 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:52:55 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:15 +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-07-10 08:53:15 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:16 +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-07-10 08:53:16 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:16 +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-07-10 08:53:23 +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-07-10 08:53:23 +0200 (buildkit.dockerfile.v0)

ARG ARCH=arm64

2025-07-10 08:53:23 +0200 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.4.1

2025-07-10 08:53:25 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=arm64 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-07-10 08:53:34 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=arm64 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-07-10 08:53:34 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:35 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:35 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:35 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=arm64 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-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

RUN |3 release=1 ARCH=arm64 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-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

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

2025-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2025-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

USER linstor

2025-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

CMD ["startController"]

2025-07-10 08:53:36 +0200 (buildkit.dockerfile.v0)

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