mirror of
https://github.com/pcvolkmer/docker-wireguard-boringtun.git
synced 2025-04-19 13:26:50 +00:00
Use alpine image in all multistage build stages
This commit is contained in:
parent
da5ca60755
commit
6973d6188a
@ -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
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user