mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 09:36:42 +01:00
1.0.0: add build infra and release
This commit is contained in:
parent
bba8d39872
commit
e76133a10f
12 changed files with 104 additions and 3 deletions
14
build/Dockerfile.glibc
Normal file
14
build/Dockerfile.glibc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM docker.io/library/debian:bookworm
|
||||
RUN apt update \
|
||||
&& apt install -y build-essential bash tree git wget \
|
||||
pkg-config libjack-dev liblilv-dev libserd-dev libsord-dev
|
||||
RUN adduser --quiet --uid 1000 --disabled-password build
|
||||
RUN wget https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init \
|
||||
&& chmod +x ./rustup-init \
|
||||
&& mv rustup-init /usr/bin/rustup-init
|
||||
USER build
|
||||
WORKDIR /home/build
|
||||
RUN rustup-init -yv --profile minimal --default-toolchain nightly \
|
||||
&& rm -rvf "$HOME/.rustup/roolchains/*/share"
|
||||
RUN ls -alh "$HOME" && bash -c '. "$HOME/.cargo/env" \
|
||||
&& cargo version -vv'
|
||||
Loading…
Add table
Add a link
Reference in a new issue