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

Add a page on how to run Dart in Docker #3096

Open
kwalrath opened this issue Mar 23, 2021 · 7 comments
Open

Add a page on how to run Dart in Docker #3096

kwalrath opened this issue Mar 23, 2021 · 7 comments
Labels
co.request Community ask for documentation dev.server Relates to developing server applications using Dart e1-hours Can complete in < 8 hours of normal, not dedicated, work e2-days Can complete in < 5 days of normal, not dedicated, work p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged

Comments

@kwalrath
Copy link
Contributor

/cc @mit-mit @kevmoo

@kwalrath kwalrath added st.blocked Issue cannot continue until another action completes co.request Community ask for documentation labels Mar 23, 2021
@parlough parlough added p2-medium Necessary but not urgent concern. Resolve when possible. e1-hours Can complete in < 8 hours of normal, not dedicated, work e2-days Can complete in < 5 days of normal, not dedicated, work dev.server Relates to developing server applications using Dart and removed st.blocked Issue cannot continue until another action completes labels May 30, 2022
@parlough
Copy link
Member

I'm marking this as no longer blocked due to the release of the official Dart docker image which is defined in https://github.com/dart-lang/dart-docker

@atsansone atsansone added the st.triage.ltw Indicates Lead Tech Writer has triaged label Apr 11, 2023
@parlough
Copy link
Member

parlough commented Jul 3, 2023

@domesticmouse I'd like to get something documented here, but don't have enough experience to know of what's important to note or challenges developers may face. In using Docker for dart-services or otherwise, has anything come up that may be worth documenting as part of this work? Or concepts that you think are important to cover?

The primary extra thing I can think of is discussing AOT compiling your Dart app and potentially(?) when that does or does not make sense in this context.

Thanks for your thoughts!!

@domesticmouse
Copy link
Member

Hilariously, the docker based service I maintain doesn't use AOT, mainly for historical reasons.

AOT compilation for docker hosted Dart applications reduces start up time, which is important for rapid scaling in hosted environments like Cloud Run. All the same arguments that the GraalVM folks are using for dockerised Java apps, basically.

@domesticmouse
Copy link
Member

@kevmoo probably has a lot more information to add here

@kevmoo
Copy link
Member

kevmoo commented Jul 5, 2023

Not sure if I have a LOT more info to add. The docs on the official site are great. My only concern is to avoid duplicating content where we'd have to keep multiple artifacts in sync.

We should absolutely make sure we have good SEO around Dart + Docker. I'm not convinced (yet) that we need a dedicated page here (maybe just a mention somewhere else?) but happy to have my mind changed!

@parlough
Copy link
Member

parlough commented Jul 5, 2023

If you think the docs on https://hub.docker.com/_/dart are satisfactory and covers everything needed, then I'm happy. It seems to come up consistently in various searches as well.

We do link to it in https://dart.dev/get-dart but perhaps we can add a link or two from elsewhere, including our still lacking (#3671 😢) server docs.

@domesticmouse
Copy link
Member

Sgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co.request Community ask for documentation dev.server Relates to developing server applications using Dart e1-hours Can complete in < 8 hours of normal, not dedicated, work e2-days Can complete in < 5 days of normal, not dedicated, work p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged
Projects
None yet
Development

No branches or pull requests

5 participants