mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
add containerized release build
This commit is contained in:
parent
88f22c96c6
commit
c439528cfc
3 changed files with 16 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
*
|
||||
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM docker.io/library/alpine:edge
|
||||
RUN apk add --no-cache \
|
||||
bash tree rustup git just cloc build-base clang20-dev \
|
||||
pipewire-jack-dev lilv-dev serd-dev
|
||||
RUN adduser -Du1000 build
|
||||
USER 1000
|
||||
RUN rustup-init -y
|
||||
RUN source "$HOME/.cargo/env" \
|
||||
&& rustup install nightly \
|
||||
&& rustup default nightly \
|
||||
&& cargo version -vv
|
||||
4
release.sh
Executable file
4
release.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
set -exo pipefail
|
||||
docker build --cache-from=internal -t tek .
|
||||
docker run -itu0 -v .:/build -vtek-build-target:/build/target -w/build tek
|
||||
Loading…
Add table
Add a link
Reference in a new issue