Closed Blackout76 closed 5 months ago
In src/WHMapper/Dockerfile at line 1
With: FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base error: exec /usr/bin/dotnet: exec format error
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
with old version: FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base No error and working
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
From dotnet sdk documentation, they give this example They also not use --platform=$BUILDPLATFORM for dotnet/aspnet as Base
--platform=$BUILDPLATFORM
Base
In src/WHMapper/Dockerfile at line 1
With:
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
error: exec /usr/bin/dotnet: exec format errorwith old version:
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
No error and workingFrom dotnet sdk documentation, they give this example They also not use
--platform=$BUILDPLATFORM
for dotnet/aspnet asBase