From 3c70a3fef5aab122feaf348fefbaa168a0f00074 Mon Sep 17 00:00:00 2001 From: BrownKnight Date: Mon, 26 Aug 2024 16:07:55 +0100 Subject: [PATCH] Fix dotnet multiplatform image issue --- Dockerfile | 2 +- server/GridBattle.Data.Importer/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34be0c3..71a3eac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-server +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-server WORKDIR /source diff --git a/server/GridBattle.Data.Importer/Dockerfile b/server/GridBattle.Data.Importer/Dockerfile index 9d0491f..7e39ac4 100644 --- a/server/GridBattle.Data.Importer/Dockerfile +++ b/server/GridBattle.Data.Importer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-server +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-server WORKDIR /source