diff --git a/Dockerfile b/Dockerfile index ed2c445..fbf94b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,7 @@ RUN \ fi # Stage 3 - Build runtime image -FROM ghcr.io/linuxserver/baseimage-ubuntu:bionic +FROM ghcr.io/linuxserver/baseimage-alpine:3.17 ARG TARGETPLATFORM ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} ARG BUILDPLATFORM diff --git a/docker-publish.ps1 b/docker-publish.ps1 index f66f38f..3e88b62 100755 --- a/docker-publish.ps1 +++ b/docker-publish.ps1 @@ -49,7 +49,7 @@ if (-Not $SkipPush.IsPresent) { $dockerArgs += @("--push") } -if (-Not $SkipCache.IsPresent) { +if ($SkipCache.IsPresent) { $dockerArgs += @("--no-cache") } @@ -65,4 +65,5 @@ $dockerArgs += @("--tag", "$($imageName):$($Version)" ) $dockerApps += @("--build-arg", "VERSION=$($Version)" ) Write-Host "Generating docker image $imageName for $Platforms" +Write-Host "Args: $dockerArgs" & docker $dockerArgs