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

Create Alpine-based dotnet images #22

Closed
dleeapho opened this issue Feb 12, 2016 · 25 comments
Closed

Create Alpine-based dotnet images #22

dleeapho opened this issue Feb 12, 2016 · 25 comments
Assignees
Milestone

Comments

@dleeapho
Copy link

Alpine is a small footprint distro that is gaining wide adoption in Official images. Prereq is to get Alpine support for the dotnet runtime, libraries, and CLI.

@ctaggart
Copy link

This is one of the reasons I like golang, is that they have a golang:alpine docker image that is very small. There is now even a rust-musl-builder docker image. It would be nice if dotnet --native supported targeting musl too, so the binaries could be put on alpine images.

@markrendle
Copy link

markrendle commented Jul 14, 2016

I know one of the things that's been blocking this is the absence of lttng-ust on Alpine, but guess what? It's available now!

@dleeapho dleeapho changed the title Create Alpine-based dotnet CLI variant Official- Create Alpine-based dotnet CLI variant Oct 5, 2016
@dleeapho dleeapho changed the title Official- Create Alpine-based dotnet CLI variant Create Alpine-based dotnet CLI variant Oct 7, 2016
@MichaelSimons MichaelSimons changed the title Create Alpine-based dotnet CLI variant Create Alpine-based dotnet images Nov 17, 2016
@RTodorov
Copy link

RTodorov commented Jan 4, 2017

Hello guys!

Is this still on the roadmap? It's a bit hard to understand the current status of https://github.com/dotnet/coreclr/issues/917.

Thanks!

@MichaelSimons
Copy link
Member

@RTodorov, Yes Alpine support is being actively worked on although there is no set release date as of now.

@MaximRouiller
Copy link

Just pinging the old thread to see if we could have a good ol' status update. 😄

@RTodorov
Copy link

Looking very much forward to it! It would be a huge improvement for those running dotnet core on Linux.

@MichaelSimons
Copy link
Member

While progress is being made on Alpine, it is not yet an officially supported OS.

@mrnickel
Copy link

I'd like to add my voice to the chorus of people requesting alpine support for .NET.

Loving this support team! Keep up the good work!

@skbergam
Copy link

skbergam commented Jun 1, 2017

Yes this would be a great addition.

@ErikSchierboom
Copy link

@MichaelSimons I see that you've removed the "blocked dependency" label 14 days, does that mean there is no longer any blocking issue to prevent this from happening? Having a .NET Core Alpine image would be brilliant.

@MichaelSimons
Copy link
Member

@ErikSchierboom, I'm sorry but this work is still blocked on official support for Alpine. The blocked dependency label was removed as dependencies are being tracked differently (on a KanBan board).

@ErikSchierboom
Copy link

@MichaelSimons Ah, okay. Is there anywhere that I can track progress being done on that part?

@richlander
Copy link
Member

richlander commented Jul 6, 2017

I was talking to @Petermarcu about Alpine support today. My understanding of the status:

  • Alpine support was very close.
  • Latest Alpine switched SSL libraries. We have not yet started on this project even though the suggestion in post is that only a rebuild is needed.

Once this work is done, we will provide Alpine-based container images.

@Petermarcu
Copy link
Member

@bartonjs can you confirm the state of crypto libs in the latest alpine version sometime soon?

@kbatman37
Copy link

+1
Any updates?

@MichaelSimons
Copy link
Member

@kbatman37 still blocked on official .NET Core support.

@kbatman37
Copy link

@MichaelSimons What is the current blocker? Also, where could I lookup the information to see that it is blocked?

@eerhardt
Copy link
Member

Just to cross-link the current status: https://github.com/dotnet/coreclr/issues/917#issuecomment-326071764

@janvorli is currently working on supporting Alpine in .NET Core 2.1.

@MichaelSimons
Copy link
Member

Alpine images are now available in the microsoft/dotnet-nightly repo and are ready for testing. See dotnet/dotnet-docker-nightly#500 for additional details. The .NET Core Docker samples repo was also updated to include an Alpine sample. We look forward to hearing your feedback - both positive and negative. Thanks

@ghost
Copy link

ghost commented Nov 21, 2017

Cheers! 👍

Will the .NET Core be published as an official Alpine package by Microsoft / dotnet foundation (so we can simply do apk add dotnet in Alpine box someday)?

@annymsMthd
Copy link

annymsMthd commented Nov 21, 2017 via email

@MichaelSimons
Copy link
Member

MichaelSimons commented Nov 21, 2017

Any chance for arm images? This would be perfect for Resin.io projects

@annymsMthd - Can you clarify - are you asking specifically about Alpine ARM images?

@MichaelSimons
Copy link
Member

Will the .NET Core be published as an official Alpine package by Microsoft / dotnet foundation (so we can simply do apk add dotnet in Alpine box someday)?

@janvorli - Can you answer?

@janvorli
Copy link
Member

@annymsMthd regarding the ARM, the missing piece is crossfs creation for ARM Alpine Linux in coreclr / corefx / core-setup so that we can cross build the nuget packages. We don't have ARM machines in the official build labs and the current crossfs creation supports only debian based target distros. If anyone from the community would be able to add the Alpine crossfs creation to coreclr (the other distros use the same mechanism), then it would speed up the process of getting the arm packages a lot. Otherwise it would need to wait until I get to that.

@janvorli
Copy link
Member

Will the .NET Core be published as an official Alpine package by Microsoft / dotnet foundation (so we can simply do apk add dotnet in Alpine box someday)?

We would prefer the distro owners to add dotnet packages. We did the debian / redhat ones to support the most frequently used distros that way from the beginning, but we don't have a plan to do that for other distros. We are working on an end to end build of all components from sources to make it easy and acceptable for distro owners to add dotnet packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests