drone-test (v16)

Published 2024-06-22 19:58:21 +00:00 by fabian

Installation

docker pull git.schle.nz/fabian/drone-test:v16
sha256:917536f5ec7adbac81c7ee76c509ea01d5364f2b79722ce240e11f71e5fc70f8

Image Layers

ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in /
CMD ["/bin/sh"]
ENV _BASH_VERSION=4.4.23
ENV _BASH_BASELINE=4.4.18
ENV _BASH_BASELINE_PATCH=18
ENV _BASH_LATEST_PATCH=23
RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bison coreutils dpkg-dev dpkg gcc libc-dev make ncurses-dev patch tar ; wget -O bash.tar.gz "https://ftp.gnu.org/gnu/bash/bash-$_BASH_BASELINE.tar.gz"; wget -O bash.tar.gz.sig "https://ftp.gnu.org/gnu/bash/bash-$_BASH_BASELINE.tar.gz.sig"; : "${_BASH_BASELINE_PATCH:=0}" "${_BASH_LATEST_PATCH:=0}"; if [ "$_BASH_LATEST_PATCH" -gt "$_BASH_BASELINE_PATCH" ]; then mkdir -p bash-patches; first="$(printf '%03d' "$(( _BASH_BASELINE_PATCH + 1 ))")"; last="$(printf '%03d' "$_BASH_LATEST_PATCH")"; majorMinor="${_BASH_VERSION%.*}"; for patch in $(seq -w "$first" "$last"); do url="https://ftp.gnu.org/gnu/bash/bash-$majorMinor-patches/bash${majorMinor//./}-$patch"; wget -O "bash-patches/$patch" "$url"; wget -O "bash-patches/$patch.sig" "$url.sig"; done; fi; apk add --no-cache --virtual .gpg-deps gnupg; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 7C0135FB088AAF6C66C650B9BB5869F064EA74AB; gpg --batch --verify bash.tar.gz.sig bash.tar.gz; rm bash.tar.gz.sig; if [ -d bash-patches ]; then for sig in bash-patches/*.sig; do p="${sig%.sig}"; gpg --batch --verify "$sig" "$p"; rm "$sig"; done; fi; gpgconf --kill all; rm -rf "$GNUPGHOME"; apk del --no-network .gpg-deps; mkdir -p /usr/src/bash; tar --extract --file=bash.tar.gz --strip-components=1 --directory=/usr/src/bash ; rm bash.tar.gz; if [ -d bash-patches ]; then apk add --no-cache --virtual .patch-deps patch; for p in bash-patches/*; do patch --directory=/usr/src/bash --input="$(readlink -f "$p")" --strip=0 ; rm "$p"; done; rmdir bash-patches; apk del --no-network .patch-deps; fi; cd /usr/src/bash; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; for f in config.guess config.sub; do wget -O "support/$f" "https://git.savannah.gnu.org/cgit/config.git/plain/$f?id=7d3d27baf8107b630586c962c057e22149653deb"; done; ./configure --build="$gnuArch" --enable-readline --with-curses --without-bash-malloc || { cat >&2 config.log; false; }; make -j "$(nproc)"; make install; cd /; rm -r /usr/src/bash; rm -rf /usr/local/share/doc/bash/*.html /usr/local/share/info /usr/local/share/locale /usr/local/share/man ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .bash-rundeps $runDeps; apk del --no-network .build-deps; [ "$(which bash)" = '/usr/local/bin/bash' ]; bash --version; [ "$(bash -c 'echo "${BASH_VERSION%%[^0-9.]*}"')" = "$_BASH_VERSION" ]; bash -c 'help' > /dev/null # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["bash"]
COPY file:ea47b202d6902b8b65f5b97cf907acb029e71550c8dfa6830120f0706e4b5a22 in /
CMD ["bash" "/script.sh"]
LABEL org.opencontainers.image.created=2024-06-22T19:58:15Z
LABEL org.opencontainers.image.revision=fdac17f010d6c2de628d7a0436ac2998bb2d739d
LABEL org.opencontainers.image.source=https://git.schle.nz/fabian/drone-test.git
LABEL org.opencontainers.image.url=https://git.schle.nz/fabian/drone-test

Labels

Key Value
org.opencontainers.image.created 2024-06-22T19:58:15Z
org.opencontainers.image.revision fdac17f010d6c2de628d7a0436ac2998bb2d739d
org.opencontainers.image.source https://git.schle.nz/fabian/drone-test.git
org.opencontainers.image.url https://git.schle.nz/fabian/drone-test
Details
Container
2024-06-22 19:58:21 +00:00
0
OCI / Docker
linux/amd64
5.7 MiB
Versions (11) View all
latest 2024-06-22
v17 2024-06-22
v16 2024-06-22
v15 2024-06-22
v11 2024-06-22