git-next (v0.14.1)

Published 2025-01-20 07:25:01 +00:00 by kemitix in kemitix/git-next

Installation

docker pull git.kemitix.net/kemitix/git-next:v0.14.1
sha256:5ac0fbba74ae9d5816ff56928af1c5e78c52e77993428a805cbecc263fe5567c

Image layers

ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust
RUN /bin/sh -c apk add --no-cache ca-certificates gcc # buildkit
ENV 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 RUST_VERSION=1.84.0
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) rustArch='x86_64-unknown-linux-musl'; rustupSha256='1455d1df3825c5f24ba06d9dd1c7052908272a2cae9aa749ea49d67acbe22b47' ;; aarch64) rustArch='aarch64-unknown-linux-musl'; rustupSha256='7087ada906cd27a00c8e0323401a46804a03a742bd07811da6dead016617cc64' ;; *) echo >&2 "unsupported architecture: $apkArch"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.27.1/${rustArch}/rustup-init"; wget "$url"; echo "${rustupSha256} *rustup-init" | sha256sum -c -; chmod +x rustup-init; ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; rm rustup-init; chmod -R a+w $RUSTUP_HOME $CARGO_HOME; rustup --version; cargo --version; rustc --version; # buildkit
LABEL org.opencontainers.image.source=https://git.kemitix.net/kemitix/rust
RUN /bin/sh -c apk add --no-cache curl=8.11.1-r0 # buildkit
RUN /bin/sh -c curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.10.19/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && tar -xzf cargo-binstall.tgz && rm cargo-binstall.tgz && mv cargo-binstall /usr/local/bin/ # buildkit
RUN /bin/sh -c cargo binstall -y cargo-chef@0.1 cargo-hack@0.6 cargo-machete@0.7 cargo-mutants@25.0 release-plz@0.3 # buildkit
RUN /bin/sh -c rustup update stable # buildkit
RUN /bin/sh -c rustup component add --toolchain stable-x86_64-unknown-linux-musl rustfmt clippy # buildkit
RUN /bin/sh -c rustup install nightly && rustup component add --toolchain nightly rustfmt clippy # buildkit
RUN /bin/sh -c apk add --no-cache bash nodejs build-base pkgconfig libssl3 openssl-dev perl git # buildkit
RUN /bin/sh -c git config --global user.email "action@git.kemitix.net" && git config --global user.name "ForgeJo Action. See: https://git.kemitix.net/kemitix/rust" # buildkit
COPY scripts/ /usr/local/bin/ # buildkit
WORKDIR /app
WORKDIR /app
RUN /bin/sh -c apk add --no-cache dbus-dev=1.14.10-r4 && rm -rf /vra/cache/apk/* # buildkit
WORKDIR /app
USER 1000
COPY /app/target/release/git-next /usr/local/bin # buildkit
ENV HOME=/app
ENTRYPOINT ["/usr/local/bin/git-next"]
CMD ["server" "start"]

Labels

Key Value
org.opencontainers.image.source https://git.kemitix.net/kemitix/rust
Details
Container
2025-01-20 07:25:01 +00:00
0
OCI / Docker
linux/amd64
856 MiB
Versions (55) View all
main 2025-01-20
latest 2025-01-20
v0.14.1 2025-01-20
0.14.0-rc1 2024-11-29
0.13 2024-09-15