Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build .net6 image on Buster(Debian 10) OS? #3569

Closed
iioter opened this issue Mar 17, 2022 · 5 comments
Closed

How to build .net6 image on Buster(Debian 10) OS? #3569

iioter opened this issue Mar 17, 2022 · 5 comments
Labels

Comments

@iioter
Copy link

iioter commented Mar 17, 2022

i use raspberry pi 4,the os info is:
$ cat /etc/debian_version
10.6
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster。
I can't find base image for my pi,where is the tag that name is '6.0.201-buster-slim-arm32v7'? Debian 10(arm32v7)

@iioter iioter added the bug label Mar 17, 2022
@mthalman
Copy link
Member

It's not entirely clear what you're asking. Can you describe what you're attempting to do? And what isn't working?

Are you trying to determine what the sdk image tag is for Debian 10/arm32? If so that tag is mcr.microsoft.com/dotnet/sdk:6.0.201-bullseye-slim-arm32v7. A container based on that image is capable of running on a Raspberry Pi device.

@iioter
Copy link
Author

iioter commented Mar 18, 2022

i find this issue #3253 .
i can't build .net6 docker image on raspberry pi4(arm32),
when is use mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm32v7 AS base,
mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim-arm32v7 AS build,
when run dotnet restore xx.csproj
it console an error 'Aborted (core dumped) The command '/bin/sh -c dotnet restore "xx.csproj"' returned'

@iioter
Copy link
Author

iioter commented Mar 22, 2022

How to build .net6 image on Buster(Debian 10) OS?

@iioter iioter changed the title .net6 docker image for arm32v7 and Debian10 How to build .net6 image on Buster(Debian 10) OS? Mar 22, 2022
@mthalman
Copy link
Member

Per the platform support policy, .NET 6 container images for Debian 10 (Buster) were not provided. They are only available for Debian 11 (Bullseye). You should be able to work around the issue with this container image running on a Raspberry Pi by following the guidance at #3253 (comment).

If you must have .NET 6 with Debian 10, you can follow the instructions for installing .NET yourself.

@iioter
Copy link
Author

iioter commented Mar 22, 2022

thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants