The builder image is now multi-arch (linux/amd64 + linux/arm64). Both variants were tested by running this repo's own CI build steps in each before being pushed as :latest. Jobs therefore no longer need an amd64 host: runs-on moves to ubuntu-latest, which the amd64 runner (draco-x86) and the ARM runner (oracle-a1) both carry, so jobs go to whichever is free instead of queueing behind long jobs on draco. The Dockerfile header now gives the buildx command for the multi-arch image, so a rebuild does not silently go back to amd64-only. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
23 lines
718 B
Docker
23 lines
718 B
Docker
# JRay Builder Image
|
|
# Pre-built image with .NET SDK and JPRM for building Jellyfin plugins
|
|
# Multi-arch (amd64 + arm64): CI runs on ubuntu-latest, which both the amd64 and the
|
|
# ARM runners carry, so the image must exist for both.
|
|
# Build + push (needs a docker-container buildx builder and arm64 binfmt/QEMU):
|
|
# docker buildx build -f Dockerfile.builder --platform linux/amd64,linux/arm64 \
|
|
# -t gitea.tourolle.paris/dtourolle/jray-builder:latest --push .
|
|
|
|
FROM mcr.microsoft.com/dotnet/sdk:9.0
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
python3 \
|
|
python3-pip \
|
|
git \
|
|
jq \
|
|
nodejs \
|
|
npm \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --break-system-packages jprm
|
|
|
|
WORKDIR /src
|