Files
zeronsd/Dockerfile.packages
Erik Hollensbe 2d8d3576a1 Fixes for debian packages
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-05-21 07:03:01 -07:00

9 lines
434 B
Docker

FROM debian:latest as rustenv
RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install curl pkg-config build-essential ca-certificates libc6-dev -y && apt-get autoclean -y && apt-get clean -y
RUN curl -sSL sh.rustup.rs >/usr/local/bin/rustup-dl && chmod +x /usr/local/bin/rustup-dl && /usr/local/bin/rustup-dl -y --default-toolchain stable
FROM rustenv as buildenv
RUN . /root/.cargo/env && cargo install cargo-deb