cargo-deb-crossbuild/Dockerfile.i386

13 lines
283 B
Docker
Raw Permalink Normal View History

FROM docker.io/rust:bookworm
2023-01-01 13:08:11 +01:00
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libclang-dev
2023-01-01 13:08:11 +01:00
# Uncomment if you need to add more build dependencies to the image:
# RUN apt-get install -y <build-depend..>
RUN cargo install cargo-deb
WORKDIR /app
CMD ["cargo", "deb"]