Is there a 2.x ARM64v8 SDK Image available for Dotnet? #4602
-
DescriptionI am working on a legacy software that unfortunately still relies on SDK v2.x, v3.x and also 5.x. I am currently using the SDK images as follows within my COPY --from=mcr.microsoft.com/dotnet/sdk:<VERSION>-focal-arm64v8 /usr/share/dotnet /usr/share/dotnet/ I have been able to drill down upto Do such SDK images exist as docker images? If not what could be the possible solution to get the 2.x SDK for ARM64v8? For Context the error logs from [+] Building 0.2s (7/7) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile.arm 0.0s
=> => transferring dockerfile: 1.33kB 0.0s
=> [internal] load metadata for mcr.microsoft.com/dotnet/sdk:6.0-focal-arm64v8 0.1s
=> ERROR [internal] load metadata for mcr.microsoft.com/dotnet/sdk:2.2-focal-arm64v8 0.1s
=> [internal] load metadata for mcr.microsoft.com/dotnet/sdk:3.1-focal-arm64v8 0.1s
=> [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:6.0-focal-arm64v8 0.1s
=> CANCELED [internal] load metadata for mcr.microsoft.com/dotnet/sdk:5.0-focal-arm64v8 0.1s
------
> [internal] load metadata for mcr.microsoft.com/dotnet/sdk:2.2-focal-arm64v8:
------
Dockerfile.arm:5
--------------------
3 | WORKDIR /Data
4 |
5 | >>> COPY --from=mcr.microsoft.com/dotnet/sdk:2.2-focal-arm64v8 /usr/share/dotnet /usr/share/dotnet/
6 | COPY --from=mcr.microsoft.com/dotnet/sdk:3.1-focal-arm64v8 /usr/share/dotnet /usr/share/dotnet/
7 | COPY --from=mcr.microsoft.com/dotnet/sdk:5.0-focal-arm64v8 /usr/share/dotnet /usr/share/dotnet/
--------------------
ERROR: failed to solve: mcr.microsoft.com/dotnet/sdk:2.2-focal-arm64v8: mcr.microsoft.com/dotnet/sdk:2.2-focal-arm64v8: not found |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Tags for 2.2 are in a different repo. There was a migration to the current repos, as described in #3667, for the 5.0 release timeframe. At that time, 2.2 was already EOL so it was not included in that migration. You can find all the tags, including 2.2, for the sdk repo here: https://mcr.microsoft.com/v2/dotnet/core/sdk/tags/list. Edit: |
Beta Was this translation helpful? Give feedback.
Tags for 2.2 are in a different repo. There was a migration to the current repos, as described in #3667, for the 5.0 release timeframe. At that time, 2.2 was already EOL so it was not included in that migration. You can find all the tags, including 2.2, for the sdk repo here: https://mcr.microsoft.com/v2/dotnet/core/sdk/tags/list.
Edit:
There are only arm32 tags available for that version, however.