2025-01-03 14:46:24 UTC
114 MB
consul
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PRODUCT_NAMEconsul
PRODUCT_VERSION1.20.2
containeroci
[#000] sha256:1e6b7297048ae70484705dda4e582fb8ad5778ea4c8ae464cf3e6a02ac439012 - 32.89% (37.6 MB)
[#001] sha256:232a5c730f201284f57d36d5fdecdafd83119836ec620728de0ef3b05b1c81e8 - 0.0% (2.03 KB)
[#002] sha256:da80e8589dd4c6d2633fa491026c4133ecdef36451950df08c6fe5393960f3bd - 0.0% (1.97 KB)
[#003] sha256:11f598eb0633400e942cf0ac5d35667b9fcce59c33fe1aa35008c892b2617a7c - 10.37% (11.9 MB)
[#004] sha256:befdc7db2a49bb03583d33b32e57c4decdb17a51a5d24394299150e2cf6f3326 - 0.0% (918 Bytes)
[#005] sha256:5c45a23f46b8359d8288ce29d2e9b7dc1ba6f2be6b3113ecf449a9e582286c6e - 56.73% (64.9 MB)
[#006] sha256:a25e24dae78ca7764fb01934c029b44e341348d4683b99bc583f30a2aa701a38 - 0.0% (145 Bytes)
[#007] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
[#008] sha256:df6af0864b2378eaa4c54f22d817e8056bf2659c4805a4e56a1b1346d6011484 - 0.0% (1.5 KB)
[#009] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.5" distribution-scope="public"
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. 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."
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. 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."
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) ENV container oci
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) COPY dir:0485e287b26ef73c199c820b8915015ba33a659f620dc17eafe7e7a33f8bf780 in /
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
2024-12-18 04:56:51 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-12-18 04:56:52 UTC/bin/sh -c . /cachi2/cachi2.env && rm -rf /var/log/*
2024-12-18 04:56:52 UTC/bin/sh -c #(nop) LABEL "build-date"="2024-12-18T04:56:25" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="0724d65b854a0151fb7d10b0e6510d8aee28e115" "build-date"="2024-12-18T04:52:16Z" "release"="1734497536"
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ARG PRODUCT_VERSION=1.20.2
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ARG PRODUCT_REVISION=33e5727aac81d744f16ede69233b2e5fd95a0b75
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ARG BIN_NAME=consul
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ENV BIN_NAME=consul
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ENV PRODUCT_VERSION=1.20.2
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ENV PRODUCT_NAME=consul
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux TARGETARCH=amd64
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.authors=Consul Team <consul@hashicorp.com> org.opencontainers.image.url=https://www.consul.io/ org.opencontainers.image.documentation=https://www.consul.io/docs org.opencontainers.image.source=https://github.com/hashicorp/consul org.opencontainers.image.version=1.20.2 org.opencontainers.image.vendor=HashiCorp org.opencontainers.image.title=consul org.opencontainers.image.description=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration. org.opencontainers.image.licenses=BSL-1.1 name=Consul maintainer=Consul Team <consul@hashicorp.com> vendor=HashiCorp release=33e5727aac81d744f16ede69233b2e5fd95a0b75 revision=33e5727aac81d744f16ede69233b2e5fd95a0b75 summary=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration. description=Consul is a datacenter runtime that provides service discovery, configuration, and orchestration. version=1.20.2
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)COPY LICENSE /usr/share/doc/consul/LICENSE.txt # buildkit
2025-01-03 14:46:22 UTC (buildkit.dockerfile.v0)COPY LICENSE /licenses/mozilla.txt # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.20.2 PRODUCT_REVISION=33e5727aac81d744f16ede69233b2e5fd95a0b75 BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c set -eux && microdnf install -y ca-certificates shadow-utils gnupg libcap openssl iputils jq iptables wget unzip tar && wget -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64 && echo 'e874b55f3279ca41415d290c512a7ba9d08f98041b28ae7c2acb19a545f1c4df /usr/bin/dumb-init' > dumb-init-shasum && sha256sum --check dumb-init-shasum && chmod +x /usr/bin/dumb-init # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.20.2 PRODUCT_REVISION=33e5727aac81d744f16ede69233b2e5fd95a0b75 BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c groupadd $BIN_NAME && adduser --uid 100 --system -g $BIN_NAME $BIN_NAME # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)COPY dist/linux/amd64/consul /bin/ # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.20.2 PRODUCT_REVISION=33e5727aac81d744f16ede69233b2e5fd95a0b75 BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c mkdir -p /consul/data && mkdir -p /consul/config && chown -R consul /consul && chgrp -R 0 /consul && chmod -R g+rwX /consul # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.20.2 PRODUCT_REVISION=33e5727aac81d744f16ede69233b2e5fd95a0b75 BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)VOLUME [/consul/data]
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)EXPOSE map[8300/tcp:{}]
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)EXPOSE map[8301/tcp:{} 8301/udp:{} 8302/tcp:{} 8302/udp:{}]
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)EXPOSE map[8500/tcp:{} 8600/tcp:{} 8600/udp:{}]
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)COPY .release/docker/docker-entrypoint-ubi.sh /usr/local/bin/docker-entrypoint.sh # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.20.2 PRODUCT_REVISION=33e5727aac81d744f16ede69233b2e5fd95a0b75 BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)USER 100
2025-01-03 14:46:24 UTC (buildkit.dockerfile.v0)CMD ["agent" "-dev" "-client" "0.0.0.0"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.