diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-10-01 09:48:02 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-10-01 09:48:02 -0500 |
| commit | 4426b0db00827663a5a58a64f39a0c41cc403af5 (patch) | |
| tree | d7dec4158781a0aecda1f930eea8f98571579c20 | |
| parent | 65336e052d9e912ec623a60ea540ea206824ea7e (diff) | |
| download | slskd-4426b0db00827663a5a58a64f39a0c41cc403af5.tar.gz | |
move final stage args to improve cache hits
| -rw-r--r-- | Dockerfile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 \ |
