diff --git a/Dockerfile.linuxarm32v7 b/Dockerfile.linuxarm32v7 index cfb4a77bf..55b59571f 100644 --- a/Dockerfile.linuxarm32v7 +++ b/Dockerfile.linuxarm32v7 @@ -10,7 +10,7 @@ COPY BTCPayServer/. . RUN dotnet publish -c Release -r linux-arm -o /app/ /p:ShowLinkerSizeComparison=true -## runtime +## We force the host to use an ARM image. This is fine also on x64 as long as the builder does not call any program FROM microsoft/dotnet:2.1.6-aspnetcore-runtime-stretch-slim-arm32v7 AS runtime ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT false