14 lines
295 B
Docker
14 lines
295 B
Docker
FROM docker.io/rust:bullseye
|
|
|
|
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
|
|
|
RUN apt-get update && apt-get upgrade -y
|
|
# 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"]
|