dbml icon indicating copy to clipboard operation
dbml copied to clipboard

Provide dbml/cli as docker image

Open julioz opened this issue 3 years ago • 6 comments

Hi,

instead of asking users to install node, npm and then the CLI binaries for DBML, could you please distribute and maintain a docker image to allow for environment isolation?

julioz avatar Jan 09 '21 13:01 julioz

There are plenty of resources on how to do that: https://www.google.com/search?q=how+to+create+a+docker+image+

So, why do you not do it yourself?

Luuk34 avatar Jan 09 '21 16:01 Luuk34

@Luuk34 Thanks for the Google search link. I could do it myself but believe it makes more sense for the maintainers of the project (who already update the tool and have a vision for the future of it) to own the image on docker hub + organize its release cycle.

julioz avatar Jan 09 '21 17:01 julioz

Thank you @julioz , this is a very good idea. Let us think more about it!

nvquanghuy avatar Jul 13 '21 10:07 nvquanghuy

Any update on this? I mean everyone could just create their own docker image or use someone elses... But in a controlled environment it's better to go for official images instead of user images.

So +1 on this!

DrBlury avatar Jan 17 '23 11:01 DrBlury

Thanks for checking in. Currently, this is not top in our priority yet. But if you/anyone wants to contribute an initial version, we'd be happy to take over as the maintainer for them.

nvquanghuy avatar Jan 21 '23 08:01 nvquanghuy

@nvquanghuy I created a project that shows you how to do it. :) https://gitea.linuxcode.net/Linuxcode/dbml-cli

The image can be seen here: https://gitea.linuxcode.net/Linuxcode/-/packages/container/dbml-cli/latest

Hope that helps anyone.

DrBlury avatar Jan 27 '23 16:01 DrBlury