diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-04-07 10:28:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-07 10:28:52 -0500 |
| commit | 85a2252c3e8c1fb0200d94ca69fbc0abd0b74b56 (patch) | |
| tree | 311ca9271d7bf9680cde083b9b2e45a137507696 /Dockerfile | |
| parent | ae66d07871d297a829c95f921fed438eb5c3f41a (diff) | |
| parent | 1561d0e992921b995228c06059915d5b8e172f78 (diff) | |
| download | slskd-85a2252c3e8c1fb0200d94ca69fbc0abd0b74b56.tar.gz | |
Merge pull request #1693 from slskd/net-10
Upgrade to .NET 10
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ # build static web content # note: pin this to amd64 to speed it up, it is prohibitively slow under QEMU -FROM --platform=$BUILDPLATFORM node:18-alpine3.18 AS web +FROM --platform=$BUILDPLATFORM node:22-alpine AS web ARG VERSION=0.0.1.65534-local WORKDIR /slskd @@ -13,7 +13,7 @@ RUN sh ./bin/build --web-only --version $VERSION # build, test, and publish application binaries # note: this needs to be pinned to an amd64 image in order to publish armv7 binaries # https://github.com/dotnet/dotnet-docker/issues/1537#issuecomment-615269150 -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS publish +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0-noble AS publish ARG TARGETPLATFORM ARG VERSION=0.0.1.65534-local @@ -32,7 +32,7 @@ RUN bash ./bin/build --dotnet-only --version $VERSION RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSION --output ../../dist/${TARGETPLATFORM} # application -FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-bookworm-slim AS slskd +FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-noble AS slskd ARG TARGETPLATFORM ARG TAG=0.0.1 ARG VERSION=0.0.1.65534-local |
