mirror of
https://github.com/zerotier/zeronsd.git
synced 2026-09-22 15:28:40 -07:00
9 lines
434 B
Docker
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
|