cargo-deb-crossbuild/Dockerfile.i386

13 lines
283 B
Docker

FROM docker.io/rust:bookworm
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libclang-dev
# 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"]