aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-02-23 07:46:43 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-02-23 07:46:43 -0600
commit67c058279b0c83643ff816bf1529a5562cf3653d (patch)
tree239dd04f7df2d9205a78f15574739f87706778b4 /Dockerfile
parentda7b6fb88cc956bf7708fe448a7ce45f5099994d (diff)
downloadslskd-67c058279b0c83643ff816bf1529a5562cf3653d.tar.gz
default TARGETPLATFORM to linux/amd64
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b6496aa4..582d0acb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,7 @@ RUN bash ./bin/build --dotnet-only --version $VERSION
#
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS publish
-ARG TARGETPLATFORM
+ARG TARGETPLATFORM=linux/amd64
ARG VERSION=0.0.1.65534-local
WORKDIR /slskd
@@ -40,7 +40,7 @@ RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSI
#
FROM mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine AS slskd
-ARG TARGETPLATFORM
+ARG TARGETPLATFORM=linux/amd64
ARG VERSION=0.0.1.65534-local
LABEL org.opencontainers.image.source=https://github.com/slskd/slskd