Use alpine?

This commit is contained in:
CDrummond committed 2025-09-25 18:02:44 +01:00
1 parent 35ec7695e5
commit 81f29db352
1 file changed
+2 -8
+2 -8
View File
@@ -1,12 +1,6 @@
FROM debian:bookworm
RUN dpkg --add-architecture amd64
RUN apt-get update
RUN apt-get install -y curl git pkg-config yasm
RUN apt-get install -y build-essential clang
RUN apt-get install -y musl-tools musl-dev musl
FROM alpine:latest
RUN apk add --no-cache build-base musl-dev yasm git curl pkgconfig
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin/:${PATH}"
RUN rustup target add x86_64-unknown-linux-musl