Hieu Le
Hieu Le

Reputation: 1122

How to generate docker image path for FROM command

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

Answers (1)

Potato
Potato

Reputation: 888

FROM microsoft/dotnet:2.2.3-stretch-slim-arm32v7 AS base

Upvotes: 1

Related Questions