dind-bash (sha256:22063d1835d8fd2101bb370592411e39a8c9abb6e7be8db8932f4997b52d745d)

Published 2025-01-20 00:10:45 +00:00 by Neshura in CI-Docker-Images/dind-bash

Installation

docker pull forgejo.neshweb.net/ci-docker-images/dind-bash@sha256:22063d1835d8fd2101bb370592411e39a8c9abb6e7be8db8932f4997b52d745d
sha256:22063d1835d8fd2101bb370592411e39a8c9abb6e7be8db8932f4997b52d745d

Image Layers

ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates openssh-client git # buildkit
RUN /bin/sh -c [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf # buildkit
RUN /bin/sh -c set -eux; addgroup -g 2375 -S docker # buildkit
ENV DOCKER_VERSION=27.5.0
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://download.docker.com/linux/static/stable/x86_64/docker-27.5.0.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-27.5.0.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-27.5.0.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-27.5.0.tgz'; ;; *) echo >&2 "error: unsupported 'docker.tgz' architecture ($apkArch)"; exit 1 ;; esac; wget -O 'docker.tgz' "$url"; tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ --no-same-owner 'docker/docker' ; rm docker.tgz; docker --version # buildkit
ENV DOCKER_BUILDX_VERSION=0.19.3
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-amd64'; sha256='32ed111e941e385c2fb8261eba06a4056915718fd606f8278834ac1931d261a2'; ;; 'armhf') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-arm-v6'; sha256='744352489292ab1439e4b4facfd49f81cbe25e71e205908bd9ec44618759739c'; ;; 'armv7') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-arm-v7'; sha256='5a83e1663b595147ac0225d876fc77e3b441e62dac7a59523ba7003eb6733b8b'; ;; 'aarch64') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-arm64'; sha256='138b587399b27bb61945a36d67866177b85dea1155101a2be63c7ab715f18a2e'; ;; 'ppc64le') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-ppc64le'; sha256='b9eb337b16a75ad45ff846134d34599169bc6dfdb168fb51303fc6b08ed9f31e'; ;; 'riscv64') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-riscv64'; sha256='de8151fe6ced7118f2d680e1d1e7c5cb00496ca0e8b0f8b261450c6636d86978'; ;; 's390x') url='https://github.com/docker/buildx/releases/download/v0.19.3/buildx-v0.19.3.linux-s390x'; sha256='422a9a0250d52dfdd6b78c8152fbf9df41993be4c7add93438c22122ff6c7da8'; ;; *) echo >&2 "warning: unsupported 'docker-buildx' architecture ($apkArch); skipping"; exit 0 ;; esac; wget -O 'docker-buildx' "$url"; echo "$sha256 *"'docker-buildx' | sha256sum -c -; plugin='/usr/local/libexec/docker/cli-plugins/docker-buildx'; mkdir -p "$(dirname "$plugin")"; mv -vT 'docker-buildx' "$plugin"; chmod +x "$plugin"; docker buildx version # buildkit
ENV DOCKER_COMPOSE_VERSION=2.32.4
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-x86_64'; sha256='ed1917fb54db184192ea9d0717bcd59e3662ea79db48bff36d3475516c480a6b'; ;; 'armhf') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-armv6'; sha256='1e9c5c4cbdda569164a067ce9246c3a969bac253192526ffe0d0e3a99a4cbd0a'; ;; 'armv7') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-armv7'; sha256='c12bb3c23db5c409a15dbb13be4b61faa74c881d5db5f8a2816f60c19c35251a'; ;; 'aarch64') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-aarch64'; sha256='0c4591cf3b1ed039adcd803dbbeddf757375fc08c11245b0154135f838495a2f'; ;; 'ppc64le') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-ppc64le'; sha256='23adf27e7637fcb65b37d8a214712c4a83d1a3cbc6be0fefd7b6e5cdfd89cb79'; ;; 'riscv64') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-riscv64'; sha256='392f705e6b1ad99b8bf761f4be8211d531fbacbcad1326f14f1cdcfc68c25a6b'; ;; 's390x') url='https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-linux-s390x'; sha256='fe2d32c99c34c39a5156fb3bfb73949be746644a3f887b628bfc971c37fa1b90'; ;; *) echo >&2 "warning: unsupported 'docker-compose' architecture ($apkArch); skipping"; exit 0 ;; esac; wget -O 'docker-compose' "$url"; echo "$sha256 *"'docker-compose' | sha256sum -c -; plugin='/usr/local/libexec/docker/cli-plugins/docker-compose'; mkdir -p "$(dirname "$plugin")"; mv -vT 'docker-compose' "$plugin"; chmod +x "$plugin"; ln -sv "$plugin" /usr/local/bin/; docker-compose --version; docker compose version # buildkit
COPY modprobe.sh /usr/local/bin/modprobe # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENV DOCKER_TLS_CERTDIR=/certs
RUN /bin/sh -c mkdir /certs /certs/client && chmod 1777 /certs /certs/client # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
RUN /bin/sh -c set -eux; apk add --no-cache btrfs-progs e2fsprogs e2fsprogs-extra git ip6tables iptables openssl pigz shadow-uidmap xfsprogs xz zfs ; # buildkit
RUN /bin/sh -c set -eux; apk add --no-cache iptables-legacy; mkdir -p /usr/local/sbin/.iptables-legacy; for f in iptables iptables-save iptables-restore ip6tables ip6tables-save ip6tables-restore ; do b="$(command -v "${f/tables/tables-legacy}")"; "$b" --version; ln -svT "$b" "/usr/local/sbin/.iptables-legacy/$f"; done; export PATH="/usr/local/sbin/.iptables-legacy:$PATH"; iptables --version | grep legacy # buildkit
RUN /bin/sh -c set -eux; addgroup -S dockremap; adduser -S -G dockremap dockremap; echo 'dockremap:165536:65536' >> /etc/subuid; echo 'dockremap:165536:65536' >> /etc/subgid # buildkit
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://download.docker.com/linux/static/stable/x86_64/docker-27.5.0.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-27.5.0.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-27.5.0.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-27.5.0.tgz'; ;; *) echo >&2 "error: unsupported 'docker.tgz' architecture ($apkArch)"; exit 1 ;; esac; wget -O 'docker.tgz' "$url"; tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ --no-same-owner --exclude 'docker/docker' ; rm docker.tgz; dockerd --version; containerd --version; ctr --version; runc --version # buildkit
ENV DIND_COMMIT=65cfcc28ab37cb75e1560e4b4738719c07c6618e
RUN /bin/sh -c set -eux; wget -O /usr/local/bin/dind "https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind"; chmod +x /usr/local/bin/dind # buildkit
COPY dockerd-entrypoint.sh /usr/local/bin/ # buildkit
VOLUME [/var/lib/docker]
EXPOSE map[2375/tcp:{} 2376/tcp:{}]
ENTRYPOINT ["dockerd-entrypoint.sh"]
CMD []
RUN /bin/sh -c apk add --no-cache bash nodejs npm # buildkit
RUN /bin/sh -c mkdir /etc/docker # buildkit
RUN /bin/sh -c echo '"registry-mirrors": ["https://docker-cache.neshweb.net"]' >> /etc/docker/daemon.json # buildkit
ENTRYPOINT ["dockerd-entrypoint.sh"]
CMD []
Details
Container
2025-01-20 00:10:45 +00:00
0
OCI / Docker
linux/amd64
153 MiB
Versions (1) View all
latest 2025-01-20