We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35274f7 commit 01e4463Copy full SHA for 01e4463
reactions/azure/eventgrid-reaction/Dockerfile
@@ -13,14 +13,14 @@
13
# limitations under the License.
14
15
16
-FROM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0 AS build
+FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0 AS build
17
ARG BUILD_CONFIGURATION=Release
18
WORKDIR /src
19
COPY . .
20
RUN dotnet restore
21
RUN dotnet build -c $BUILD_CONFIGURATION -o /app/build
22
23
-FROM mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0 AS final
+FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0 AS final
24
WORKDIR /app
25
COPY --from=build /app/build .
26
-ENTRYPOINT ["/app/eventgrid-reaction"]
+ENTRYPOINT ["/app/eventgrid-reaction"]
0 commit comments