rust-node (sha256:26e169d0c6e8dbf87762bb795e49bc1316455793049d4d306506065c496d0f0d)

Published 2025-12-30 12:44:41 +01:00 by laurent in laurent/ci-images

Installation

docker pull forge.ltfourrier.net/laurent/rust-node@sha256:26e169d0c6e8dbf87762bb795e49bc1316455793049d4d306506065c496d0f0d
sha256:26e169d0c6e8dbf87762bb795e49bc1316455793049d4d306506065c496d0f0d

About this package

CI runner image with Rust and Node.js

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 in /
CMD ["/bin/bash"]
ARG RUST_VERSION=stable
ARG NODE_MAJOR=22
ENV DEBIAN_FRONTEND=noninteractive RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |2 RUST_VERSION=stable NODE_MAJOR=22 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential pkg-config cmake libssl-dev ca-certificates git curl wget openssh-client jq gnupg && install -m 0755 -d /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && chmod a+r /etc/apt/keyrings/docker.asc && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list && apt-get update && apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |2 RUST_VERSION=stable NODE_MAJOR=22 /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${RUST_VERSION} && rm -rf /usr/local/rustup/downloads/* && rm -rf /usr/local/rustup/tmp/* # buildkit
RUN |2 RUST_VERSION=stable NODE_MAJOR=22 /bin/sh -c echo '[registries.ltfnet]' > /usr/local/cargo/config.toml && echo 'index = "sparse+https://forge.ltfourrier.net/api/packages/__FORGEJO_USERNAME__/cargo/"' >> /usr/local/cargo/config.toml # buildkit
RUN |2 RUST_VERSION=stable NODE_MAJOR=22 /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_${NODE_MAJOR}.x | bash - && apt-get install -y --no-install-recommends nodejs && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
LABEL org.opencontainers.image.title=rust-node org.opencontainers.image.description=CI runner image with Rust and Node.js rust.version=stable node.major=22
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN |2 RUST_VERSION=stable NODE_MAJOR=22 /bin/sh -c chmod +x /entrypoint.sh # buildkit
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bash"]

Labels

Key Value
node.major 22
org.opencontainers.image.description CI runner image with Rust and Node.js
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.title rust-node
org.opencontainers.image.version 24.04
rust.version stable
Details
Container
2025-12-30 12:44:41 +01:00
0
OCI / Docker
linux/amd64
572 MiB
Versions (2) View all
latest 2025-12-31
1.92.0 2025-12-30