Namespace
amd64
Image / Tag
linstor-controller:v1.25.1
Content Digest
sha256:6b875b207912bd51721582ab912a1670e1918da4c3c9c033ef5a4be1788ccaaa
Details
Created

2023-11-20 11:25:25 +0100

Size

318 MB

Content Digest
Labels
  • architecture
    x86_64
  • build-date
    2023-11-01T03:17:35
  • 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.29.0
  • 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.9-1028
  • vcs-ref
    16023543dff146b00b5868ad23202e2af8b40a8a
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.25.1

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.25.1

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:be06cdb4caa4a6d9261d14a6e0cd1f6b8853624d9070ce340447ed0f90ab7106 - 22.47% (71.4 MB)

[#001] sha256:4b0036f81e25e87433c035109c067eb199a5730e33073098fe9af72f14408f5c - 0.0% (263 Bytes)

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

[#003] sha256:0d51617c58b0e247a551301595f8e20851915f2a5d4eeeadcb78122717d88a79 - 21.19% (67.4 MB)

[#004] sha256:f82f19c4dd70f6edfbd8235a403c3922716c93fc2062f918ed4626ff4f888469 - 43.95% (140 MB)

[#005] sha256:e180c86f4d9167e6dce12890bf17cb7ab4f8e03bc917bc56451109a968ad9bb6 - 1.33% (4.24 MB)

[#006] sha256:1a9abde2dbecc0c7b06c554cc6bf2b9946252d30184e7f7a5e0a6d18ab84c4da - 0.0% (306 Bytes)

[#007] sha256:c5386fd37730e52957361e02a58ebdeb59f2609a07d25db047257bf43d77cdd8 - 3.84% (12.2 MB)

[#008] sha256:9085c60d3a68ced48b9a76cb83ea00f47e37967265db8c81b897999f0be037a4 - 2.48% (7.88 MB)

[#009] sha256:7a07686b4c1487af3f046e4efbea7fd795385ca9e94b8f0e04555902bdb3fa83 - 4.74% (15.1 MB)

[#010] sha256:2fd2759dfcb1e111a0593c873c3bb2c47bbae0c1e33dae81851806c844e54b08 - 0.0% (601 Bytes)

[#011] sha256:aa027f9e666961f08901cb6566563dc86b10b369c19a4389bbd0a54b42fc9ed2 - 0.0% (1.64 KB)

[#012] sha256:f9b4cd5001b7f5b96d7cfe5875fd338b1830488cee435c74a90f8c67d76e0ef3 - 0.0% (177 Bytes)

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

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

[#015] sha256:293a31e9480e1ec15139041782a50dd1f12d4f01727aeee953ded86bfacf46bc - 0.0% (952 Bytes)

[#016] sha256:7d49475c37b8d9a4a82790b34fb7ef29fd34b63049b605a7d796e343986ab683 - 0.0% (1.46 KB)


History
2023-11-01 03:28:46 UTC

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

2023-11-01 03:28:46 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 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-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:47 UTC

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

2023-11-01 03:28:48 UTC

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

2023-11-01 03:28:48 UTC

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

2023-11-01 03:28:48 UTC

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

2023-11-01 03:28:49 UTC

/bin/sh -c #(nop) ADD file:e03a379e0b2c85e0aa78c187f3cbdab051fc15c79e81087d7af2213af8ec05ce in /root/buildinfo/content_manifests/ubi8-container-8.9-1028.json

2023-11-01 03:28:49 UTC

/bin/sh -c #(nop) ADD file:c509f1b3d681b18636f4711707e9d2cbff68d3ef0167265ce5798f8a6aa176b7 in /root/buildinfo/Dockerfile-ubi8-8.9-1028

2023-11-01 03:28:49 UTC

/bin/sh -c #(nop) LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-11-01T03:17:35" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="16023543dff146b00b5868ad23202e2af8b40a8a" "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.9-1028"

2023-11-01 03:28:50 UTC

/bin/sh -c rm -f '/etc/yum.repos.d/repo-3b08a.repo' '/etc/yum.repos.d/repo-4c95e.repo'

2023-11-01 03:28:50 UTC

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

2023-11-01 03:28:53 UTC

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

2023-11-20 11:21:31 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:21:31 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:21:31 +0100 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.25.1

2023-11-20 11:21:31 +0100 (buildkit.dockerfile.v0)

ARG release=1

2023-11-20 11:21:31 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:21:31 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:24:44 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:25:06 +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

2023-11-20 11:25:06 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:25:08 +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

2023-11-20 11:25:08 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:25:09 +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

2023-11-20 11:25:15 +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

2023-11-20 11:25:15 +0100 (buildkit.dockerfile.v0)

ARG ARCH=amd64

2023-11-20 11:25:15 +0100 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.3.1

2023-11-20 11:25:17 +0100 (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-11-20 11:25:20 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:25:21 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:25:22 +0100 (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-11-20 11:25:23 +0100 (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-11-20 11:25:23 +0100 (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-11-20 11:25:24 +0100 (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-11-20 11:25:25 +0100 (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-11-20 11:25:25 +0100 (buildkit.dockerfile.v0)

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

2023-11-20 11:25:25 +0100 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2023-11-20 11:25:25 +0100 (buildkit.dockerfile.v0)

USER linstor

2023-11-20 11:25:25 +0100 (buildkit.dockerfile.v0)

CMD ["startController"]

2023-11-20 11:25:25 +0100 (buildkit.dockerfile.v0)

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