From f950cfdb6145b7a251f3c12f3eee14b295a4b374 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 30 Sep 2026 08:34:12 -0500 Subject: remove version arg from web layer --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index de081302..daf0bef7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,13 @@ # build static web content # note: pin this to amd64 to speed it up, it is prohibitively slow under QEMU FROM --platform=$BUILDPLATFORM node:22-alpine AS web -ARG VERSION=0.0.1.65534-local WORKDIR /slskd COPY bin bin/. COPY src/web src/web/. -RUN sh ./bin/build --web-only --version $VERSION +RUN sh ./bin/build --web-only # build, test, and publish application binaries # note: this needs to be pinned to an amd64 image in order to publish armv7 binaries -- cgit v1.2.3 From 65336e052d9e912ec623a60ea540ea206824ea7e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 30 Sep 2026 19:03:34 -0500 Subject: use a bogus version for web build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index daf0bef7..f4c392dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /slskd COPY bin bin/. COPY src/web src/web/. -RUN sh ./bin/build --web-only +RUN sh ./bin/build --web-only --version 0.0.1.65534-local # build, test, and publish application binaries # note: this needs to be pinned to an amd64 image in order to publish armv7 binaries -- cgit v1.2.3 From 4426b0db00827663a5a58a64f39a0c41cc403af5 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 1 Oct 2026 09:48:02 -0500 Subject: move final stage args to improve cache hits --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index f4c392dc..d1063802 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,10 +36,6 @@ RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSI # application 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 -ARG REVISION=0 -ARG BUILD_DATE RUN apt-get update && apt-get install --no-install-recommends -y \ jq \ @@ -61,6 +57,11 @@ RUN bash -c 'mkdir -p /.net \ HEALTHCHECK --interval=60s --timeout=3s --start-period=60m --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health +ARG TAG=0.0.1 +ARG VERSION=0.0.1.65534-local +ARG REVISION=0 +ARG BUILD_DATE + ENV SHELL=/usr/bin/bash \ DOTNET_EnableDiagnostics=0 \ DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ -- cgit v1.2.3 From 93e7bfa63a802563067757696bbed803d2cd5774 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 1 Oct 2026 09:52:54 -0500 Subject: update authors --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index d1063802..aad3bd2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,7 +81,7 @@ ENV SHELL=/usr/bin/bash \ LABEL org.opencontainers.image.title=slskd \ org.opencontainers.image.description="A modern client-server application for the Soulseek file sharing network" \ - org.opencontainers.image.authors="JP Dillingham, slskd Contributors" \ + org.opencontainers.image.authors="JP Dillingham" \ org.opencontainers.image.vendor="slskd Project" \ org.opencontainers.image.licenses=AGPL-3.0 \ org.opencontainers.image.url=https://slskd.org \ -- cgit v1.2.3