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