Switch container to add support for building for musl

This commit is contained in:
2025-10-04 16:56:04 -05:00
parent f859f8f34b
commit 20b6fe6cc9
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ env:
jobs: jobs:
build_and_test: build_and_test:
name: Rust project - latest name: Rust project - latest
runs-on: rustup-all runs-on: rustup-all-musl
strategy: strategy:
matrix: matrix:
toolchain: toolchain:

View File

@@ -3,6 +3,7 @@ WORKDIR /
COPY ./target/x86_64-unknown-linux-musl/release/gpodder-rs /gpodder-rs COPY ./target/x86_64-unknown-linux-musl/release/gpodder-rs /gpodder-rs
COPY ./Rocket.toml /Rocket.toml COPY ./Rocket.toml /Rocket.toml
COPY ./templates /templates
VOLUME ["/data/"] VOLUME ["/data/"]
CMD ["/gpodder-rs"] CMD ["/gpodder-rs"]