Reputation: 1122
When I create asp.net core project from scratch, the first line of Dockerfile is:
FROM microsoft/dotnet:2.2-aspnetcore-runtime-stretch-slim AS base
I need to change the platform to ARM32v7. I've checked Docker Hub of Microsoft then I know what image tags I need to use:
2.2.3-stretch-slim-arm32v7, 2.2-stretch-slim-arm32v7, 2.2.3, 2.2, latest (Dockerfile)
Even though I did work as below, I don't understand how can it work without correct tag names?
FROM microsoft/dotnet:2.2-aspnetcore-runtime-stretch-slim-arm32v7 AS base
My question is: how can I generate the image path to use for FROM command of Dockerfile?
Thank you for help!
Upvotes: 0
Views: 118