local dockerized build

This commit is contained in:
🪞👃🪞 2025-04-19 01:39:52 +03:00
parent 8fa0f8a409
commit 393634a1a4
12 changed files with 93 additions and 71 deletions

View file

@ -1,11 +1,15 @@
FROM docker.io/library/alpine:edge
RUN apk add --no-cache \
bash tree rustup git just cloc build-base clang20-dev \
build-base bash tree rustup git just cloc clang20-dev \
pipewire-jack-dev lilv-dev serd-dev
RUN adduser -Du1000 build
USER 1000
RUN rustup-init -y
RUN rustup-init -y --profile minimal --default-toolchain nightly \
&& rm -rvf "$HOME/.rustup/roolchains/*/share"
RUN source "$HOME/.cargo/env" \
&& rustup install nightly \
&& rustup default nightly \
&& cargo version -vv