Dockerfile.docker.arm64 597 B

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