rust-action/Dockerfile

24 lines
702 B
Docker
Raw Normal View History

2024-02-29 20:13:15 +00:00
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"
2024-02-29 21:45:42 +00:00
RUN rustup show
RUN rustup remove nightly-x86_64-unknown-linux-gnu
2024-02-29 20:45:23 +00:00
RUN rustup install nightly
2024-02-29 20:13:15 +00:00
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/*
2024-02-29 20:45:23 +00:00
RUN cargo --version
RUN rustc --version
2024-02-29 20:13:15 +00:00
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]