From fff50ab102037f7f35686fd9a6b68334b1b1a9a4 Mon Sep 17 00:00:00 2001 From: Matthew Pomes Date: Sat, 4 Oct 2025 16:17:45 -0500 Subject: [PATCH] Add MUSL varients of rustup container --- .gitea/workflows/publish.yaml | 10 ++++++++++ rustup/Dockerfile | 2 ++ 2 files changed, 12 insertions(+) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index baafcf6..2a4f8ae 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -52,3 +52,13 @@ jobs: EXTRA=beta nightly file: 'rustup/Dockerfile' tags: gitea.loadingm.xyz/the10thwiz/rustup:latest + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + build-args: | + TOOLCHAIN=stable + EXTRA=beta nightly + TARGETS=x86_64-unknown-linux-musl + file: 'rustup/Dockerfile' + tags: gitea.loadingm.xyz/the10thwiz/rustup:musl-latest diff --git a/rustup/Dockerfile b/rustup/Dockerfile index 77a019e..7b00331 100644 --- a/rustup/Dockerfile +++ b/rustup/Dockerfile @@ -31,3 +31,5 @@ ENV PATH=/root/.cargo/bin:$PATH ARG EXTRA="" RUN for name in "$EXTRA"; do rustup install $name; done +ARG TARGETS="" +RUN for name in "$TARGETS"; do rustup target add $name; done