From 6973d6188a6fd8fc0f68f4e2f0eefb4ce587e332 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Sun, 6 Aug 2023 21:59:42 +0200 Subject: [PATCH] Use alpine image in all multistage build stages --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a00a7a1..bc00d29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM rust:slim AS build +FROM rust:alpine AS build -RUN rustup target add x86_64-unknown-linux-musl -RUN apt update && apt install -y musl-tools musl-dev -RUN cargo install --target x86_64-unknown-linux-musl boringtun-cli +RUN apk update +RUN apk add cmake make musl-dev g++ +RUN cargo install boringtun-cli ###