Dockerfile.docker.armhf 662 B

12345678910111213141516
  1. ARG DOTNET_VERSION=3.1
  2. ARG SOURCE_DIR=/src
  3. ARG ARTIFACT_DIR=/jellyfin
  4. FROM mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION}-buster as builder
  5. RUN mkdir ${SOURCE_DIR}
  6. WORKDIR ${SOURCE_DIR}
  7. COPY . .
  8. ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
  9. # because of changes in docker and systemd we need to not build in parallel at the moment
  10. # see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting
  11. RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"