2025-05-06 12:07:26 UTC
118 MB
consul
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PRODUCT_NAMEconsul
PRODUCT_VERSION1.21.0
containeroci
[#000] sha256:0e8d054612b4f0035f5c5cbccf286c0144a13098091c04bd08f3376a1adcaa1d - 32.22% (37.9 MB)
[#001] sha256:e27a3a894f5d969321d0c9c92df6500d44e7bd6ac0623ba4611f4bbb8bcd393b - 0.0% (2.04 KB)
[#002] sha256:8b04d5669f20934cbc75d63d39b7b6124adaeaeade24d677c29b34f191d55fec - 0.0% (1.97 KB)
[#003] sha256:5c92b0b47d1906b714cd4182a973f86b21515c830d70b351607d53f251d1be61 - 10.34% (12.1 MB)
[#004] sha256:c52142738e97a491c48a574b4cecb0ff9b06072d37ad48ddbc1abe9c0ce052c6 - 0.0% (929 Bytes)
[#005] sha256:4e7c1f35be237a74c357bb322b56d5e7c6b077a1f0ebf20aad5254cf33772dfc - 57.43% (67.5 MB)
[#006] sha256:30f02fdcfe70084b8f35dbb13d3a1b4c5b56b4cbb9f7cd7d0043bdbf1ff5f770 - 0.0% (144 Bytes)
[#007] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
[#008] sha256:5087e0a318841b51895b3a369dd0053a7fd95d243632ab75493670323f6d4132 - 0.0% (1.51 KB)
[#009] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.5" distribution-scope="public"
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2025-04-28 15:46:09 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."
2025-04-28 15:46:09 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."
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) ENV container oci
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) COPY dir:6446605ab0b234f56f65ee435d3f1ec849764d2e258ed27d2cce90dc59963fc1 in /
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
2025-04-28 15:46:09 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-04-28 15:46:10 UTC/bin/sh -c . /cachi2/cachi2.env && rm -rf /var/log/*
2025-04-28 15:46:10 UTC/bin/sh -c #(nop) COPY file:58cc94f5b3b2d60de2c77a6ed4b1797dcede502ccdb429a72e7a72d994235b3c in /usr/share/buildinfo/content-sets.json
2025-04-28 15:46:10 UTC/bin/sh -c #(nop) LABEL "build-date"="2025-04-28T15:45:43" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="f072486a5ead2d7d882ba4af2ce72e19cce20791" "release"="1745855087"
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ARG PRODUCT_VERSION=1.21.0
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ARG PRODUCT_REVISION=4e96098f98228a6b91691abefced6493128d57ea
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ARG BIN_NAME=consul
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ENV BIN_NAME=consul
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ENV PRODUCT_VERSION=1.21.0
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ENV PRODUCT_NAME=consul
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux TARGETARCH=amd64
2025-05-06 12:07:23 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://developer.hashicorp.com/consul/docs org.opencontainers.image.source=https://github.com/hashicorp/consul org.opencontainers.image.version=1.21.0 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=4e96098f98228a6b91691abefced6493128d57ea revision=4e96098f98228a6b91691abefced6493128d57ea 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.21.0
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)COPY LICENSE /usr/share/doc/consul/LICENSE.txt # buildkit
2025-05-06 12:07:23 UTC (buildkit.dockerfile.v0)COPY LICENSE /licenses/mozilla.txt # buildkit
2025-05-06 12:07:25 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.0 PRODUCT_REVISION=4e96098f98228a6b91691abefced6493128d57ea 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-05-06 12:07:25 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.0 PRODUCT_REVISION=4e96098f98228a6b91691abefced6493128d57ea BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c groupadd $BIN_NAME && adduser --uid 100 --system -g $BIN_NAME $BIN_NAME # buildkit
2025-05-06 12:07:25 UTC (buildkit.dockerfile.v0)COPY dist/linux/amd64/consul /bin/ # buildkit
2025-05-06 12:07:25 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.0 PRODUCT_REVISION=4e96098f98228a6b91691abefced6493128d57ea 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-05-06 12:07:26 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.0 PRODUCT_REVISION=4e96098f98228a6b91691abefced6493128d57ea BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf # buildkit
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)VOLUME [/consul/data]
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)EXPOSE map[8300/tcp:{}]
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)EXPOSE map[8301/tcp:{} 8301/udp:{} 8302/tcp:{} 8302/udp:{}]
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)EXPOSE map[8500/tcp:{} 8600/tcp:{} 8600/udp:{}]
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)COPY .release/docker/docker-entrypoint-ubi.sh /usr/local/bin/docker-entrypoint.sh # buildkit
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)RUN |5 PRODUCT_VERSION=1.21.0 PRODUCT_REVISION=4e96098f98228a6b91691abefced6493128d57ea BIN_NAME=consul TARGETOS=linux TARGETARCH=amd64 /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-05-06 12:07:26 UTC (buildkit.dockerfile.v0)USER 100
2025-05-06 12:07:26 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.