diff options
| -rw-r--r-- | Dockerfile | 5 | ||||
| -rwxr-xr-x | bin/publish | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -24,7 +24,8 @@ RUN bash ./bin/build --dotnet-only --version $VERSION # -FROM mcr.microsoft.com/dotnet/sdk:5.0.103-focal-amd64 AS publish +# note: this needs to be pinned to an amd64 image +FROM mcr.microsoft.com/dotnet/sdk:5.0-focal-amd64 AS publish ARG TARGETPLATFORM ARG VERSION=0.0.1.65534-local @@ -39,7 +40,7 @@ RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSI # -FROM ubuntu AS slskd +FROM mcr.microsoft.com/dotnet/runtime-deps:5.0-focal AS slskd ARG TARGETPLATFORM ARG VERSION=0.0.1.65534-local diff --git a/bin/publish b/bin/publish index 1315e2f1..2d40de3b 100755 --- a/bin/publish +++ b/bin/publish @@ -48,13 +48,13 @@ done if [ ! -z "$platform" ]; then case "$platform" in linux/amd64) - runtime="linux-musl-x64" + runtime="linux-x64" ;; linux/arm64) - runtime="linux-musl-arm64" + runtime="linux-arm64" ;; linux/arm/v7) - runtime="linux-musl-arm" + runtime="linux-arm" ;; *) echo "💥 error: platform must be one of: linux/amd64, linux/arm64, linux/arm/v7" |
