Use alpine image in all multistage build stages

This commit is contained in:
Paul-Christian Volkmer 2023-08-06 21:59:42 +02:00
parent da5ca60755
commit 6973d6188a

View File

@ -1,8 +1,8 @@
FROM rust:slim AS build FROM rust:alpine AS build
RUN rustup target add x86_64-unknown-linux-musl RUN apk update
RUN apt update && apt install -y musl-tools musl-dev RUN apk add cmake make musl-dev g++
RUN cargo install --target x86_64-unknown-linux-musl boringtun-cli RUN cargo install boringtun-cli
### ###