rust-action/Dockerfile
Ondrej Vlach aa5dc1b24d
All checks were successful
Integration test for new action version / it (push) Successful in 38s
build: gitea actions
2024-03-01 00:05:34 +01:00

25 lines
697 B
Docker

FROM git.nanobyte.cz/nanobyte-public/nano-rust:1.78.81a775c
LABEL "com.github.actions.name"="Rust Action Box"
LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI based upon Github Actions"
LABEL "com.github.actions.icon"="play-circle"
LABEL "com.github.actions.color"="gray-dark"
RUN rustup show
RUN rustup uninstall nightly
RUN rustup install nightly
RUN rustup show
RUN rustup component add clippy-preview
RUN rustup component add rustfmt-preview
RUN apt-get update && apt-get install -y \
cmake \
&& rm -rf /var/lib/apt/lists/*
RUN cargo --version
RUN rustc --version
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]