mirror of
https://github.com/zerotier/zeronsd.git
synced 2026-05-22 16:25:37 -07:00
2d8d3576a1
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
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
|