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(-) 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(-) 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