runner-rust (latest)

Published 2025-08-26 00:01:07 +00:00 by Ghost

Installation

docker pull git.euph.dev/actions/runner-rust:latest
sha256:f98637d993aa572a618a47310a7b867af292b9590295124552b459a0e5600f77

About this package

Carefully crafted Alpine Docker image with glibc (~12MB)

Image layers

ADD alpine-minirootfs-3.21.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG GLIBC_VERSION=2.41
ARG TARGETARCH=amd64
RUN |2 GLIBC_VERSION=2.41 TARGETARCH=amd64 /bin/sh -c case "$TARGETARCH" in amd64) export LD_LINUX_PATH="/lib/ld-linux-x86_64.so.2" ;; arm64) export LD_LINUX_PATH="/lib/ld-linux-aarch64.so.1" ;; *) echo "Unsupported architecture: $TARGETARCH" && exit 1 ;; esac && apk add --no-cache /tmp/glibc-${GLIBC_VERSION}-*.apk /tmp/glibc-bin-${GLIBC_VERSION}-*.apk /tmp/glibc-i18n-${GLIBC_VERSION}-*.apk && /usr/glibc-compat/bin/localedef --force --inputfile POSIX --charmap UTF-8 C.UTF-8 || true && echo "export LANG=C.UTF-8" > /etc/profile.d/locale.sh && apk del glibc-i18n # buildkit
RUN /bin/sh -c apk add --update --no-cache bash sudo ca-certificates openssl openssh-client git git-lfs wget curl tar zip unzip xz zstd jq nodejs npm python3 py3-pip parallel make just # buildkit
RUN /bin/sh -c adduser -D runner && echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner && chmod 0440 /etc/sudoers.d/runner # buildkit
RUN /bin/sh -c chmod -R 777 /opt # buildkit
WORKDIR /home/runner
CMD ["/bin/bash"]
USER runner
ENV RUSTFLAGS=-C target-feature=-crt-static
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.cargo/bin
RUN /bin/sh -c sudo apk add --no-cache build-base pkgconfig libxkbcommon-dev # buildkit
RUN /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # buildkit
RUN /bin/sh -c rustup component add clippy rustfmt # buildkit

Labels

Key Value
org.opencontainers.image.created 2025-04-06T21:02:34.000Z
org.opencontainers.image.description Carefully crafted Alpine Docker image with glibc (~12MB)
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision 8d60dbb67203c150dd2bf8dc35bcd708e0ef82d9
org.opencontainers.image.source https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc
org.opencontainers.image.title docker-alpine-glibc
org.opencontainers.image.url https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc
org.opencontainers.image.version nightly
Details
Container
2025-08-26 00:01:07 +00:00
434
OCI / Docker
linux/amd64
MIT
489 MiB
Versions (2) View all
latest 2025-08-26
1469 2025-08-26