Namespace
Image / Tag
linstor-controller:v1.21.1
Content Digest
sha256:b66e503777c9c544323331da358ae3e2f3aa84e5a1251f7325ed433a82d3af51
Details
Created

2023-03-22 15:10:06 +0100

Size

278 MB

Content Digest
Labels
  • architecture
    x86_64
  • build-date
    2023-02-15T04:02:00
  • 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-1090
  • vcs-ref
    a995512a05037e3b60bbb1bf9fa6e394063131c3
  • vcs-type
    git
  • vendor
    LINBIT
  • version
    1.21.1

Environment
INTERNAL_REPO

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

LINSTOR_VERSION

1.21.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:67e83dc68fc88f2039742d9a7becd17c3727b1d27b6bff24ab154d795f417140 - 25.83% (71.7 MB)

[#001] sha256:2756748213351b56fb4c48eac336b892ea43876e00003241874a1d780370d402 - 0.0% (263 Bytes)

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

[#003] sha256:f7d9524916e1baaa74b9242657ff55c03943acc7977be673e6852a894be8705e - 21.79% (60.5 MB)

[#004] sha256:9aa1a9db9ead1c402a58a31b69a118453bcc31f29344491afbc0761f427fe921 - 43.92% (122 MB)

[#005] sha256:e96e791a8d1e5581226ba0b1f75cb70a48dd1002acf63b4a637b1da61fe8f64c - 1.54% (4.27 MB)

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

[#007] sha256:8a8a6431a0a42cc45b8d52a6587880133f7ddb9faa9554e9053bf0179c10a6f3 - 4.07% (11.3 MB)

[#008] sha256:d0ed526ce4dcb8c8a230c0f152e7b89c6e124f3a41ed7ec919f8c90374489702 - 2.84% (7.88 MB)

[#009] sha256:7cdd0be969b66dd6db12370f4d8acdb5686cccf528f8ae45a25dfab4338765ba - 0.0% (604 Bytes)

[#010] sha256:11a16559241a06f62875b0de1fcd52023c02564e725ecffc2aa7d3b06eeaabf9 - 0.0% (1.64 KB)

[#011] sha256:26359ca4d220aef2fa225b8080454f577b13cb9efe62bb1da85067a69470a821 - 0.0% (180 Bytes)

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

[#013] sha256:a31da08e785714652ce3d0c402add6f372c6564a976574c1bd6797f8463a54af - 0.0% (220 Bytes)

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

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


History
2023-02-15 04:13:29 UTC

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

2023-02-15 04:13:29 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 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-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:30 UTC

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

2023-02-15 04:13:31 UTC

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

2023-02-15 04:13:31 UTC

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

2023-02-15 04:13:31 UTC

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

2023-02-15 04:13:32 UTC

/bin/sh -c #(nop) ADD file:66e37e34539d7c19fc11ef13b8b9b70125e89d0c2b2749f418fbc8a7dc905a5e in /root/buildinfo/content_manifests/ubi8-container-8.7-1090.json

2023-02-15 04:13:32 UTC

/bin/sh -c #(nop) ADD file:362bc7f4b86738bdb2442183b9486be164cc649df3ed7f70ded7113108431752 in /root/buildinfo/Dockerfile-ubi8-8.7-1090

2023-02-15 04:13:32 UTC

/bin/sh -c #(nop) LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-02-15T04:02:00" "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-1090"

2023-02-15 04:13:33 UTC

/bin/sh -c rm -f '/etc/yum.repos.d/repo-1f209.repo' '/etc/yum.repos.d/repo-7613a.repo'

2023-02-15 04:13:33 UTC

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

2023-02-15 04:13:36 UTC

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

2023-03-22 15:06:57 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:06:57 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:06:57 +0100 (buildkit.dockerfile.v0)

ENV LINSTOR_VERSION=1.21.1

2023-03-22 15:06:57 +0100 (buildkit.dockerfile.v0)

ARG release=1

2023-03-22 15:06:57 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:06:57 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:09:28 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:09:50 +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-03-22 15:09:50 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:09:51 +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-03-22 15:09:51 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:09:52 +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-03-22 15:09:58 +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-03-22 15:09:58 +0100 (buildkit.dockerfile.v0)

ARG ARCH=amd64

2023-03-22 15:09:58 +0100 (buildkit.dockerfile.v0)

ARG K8S_AWAIT_ELECTION_VERSION=v0.3.1

2023-03-22 15:10:01 +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-03-22 15:10:02 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:10:03 +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-03-22 15:10:03 +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-03-22 15:10:04 +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-03-22 15:10:05 +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-03-22 15:10:06 +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-03-22 15:10:06 +0100 (buildkit.dockerfile.v0)

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

2023-03-22 15:10:06 +0100 (buildkit.dockerfile.v0)

COPY scripts/entry.sh / # buildkit

2023-03-22 15:10:06 +0100 (buildkit.dockerfile.v0)

USER linstor

2023-03-22 15:10:06 +0100 (buildkit.dockerfile.v0)

CMD ["startController"]

2023-03-22 15:10:06 +0100 (buildkit.dockerfile.v0)

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