rust-action/Dockerfile

19 lines
533 B
Docker
Raw Normal View History

2023-06-03 19:16:42 +00:00
FROM rust:1.70.0
2019-01-25 22:47:25 +00:00
2023-06-05 05:52:59 +00:00
LABEL "com.github.actions.name"="Rust Action Box"
2019-01-25 22:47:25 +00:00
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 component add clippy-preview
RUN rustup component add rustfmt-preview
RUN cargo install cargo-release
2019-02-10 18:00:47 +00:00
RUN apt-get update && apt-get install -y \
cmake \
&& rm -rf /var/lib/apt/lists/*
2019-01-25 22:47:25 +00:00
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]