chefkoch-dev / container-run

Docker run wrapper
MIT License
8 stars 1 forks source link

Is this still your current approach? #10

Open mpdude opened 2 years ago

mpdude commented 2 years ago

Hey folks,

two years have passed since @perprogramming pointed to this repo here via https://github.com/mpdude/docker-build-orchestration/pull/2/.

Are you still using this approach, or have you come up with new solutions and/or off-the-shelf tools?

Thanks!

frastel commented 2 years ago

In the mean time we are far away from this approach. We are currently focusing on a Setup containing Docker Compose and Make/Just.

pierres commented 2 years ago

If you are using docker-compose, utilizing its "run" feature is probably best. Configure it to run tasks as the host user and disable user namespace mapping.

A complex but complete example can be found at https://github.com/archlinux-de/www.archlinux.de Relevant are:

mpdude commented 2 years ago

Thank you for the swift feedback and these hints, I will follow them!

In case you're interested, I am still looking for a good way to shift to a Docker-based development style for my team, and I have compiled a wishlist of what I think is important over at https://github.com/mpdude/docker-build-orchestration/blob/master/README.md.

In case you think one or several of the items on it are wrong or otherwise not necessary, I'd be glad if you open an issue.

🍻

mpdude commented 2 years ago

@pierres How/where do you build Docker images in your ArchLinux.de example?

Do you use the justfile in that case as well, to fetch vendors into the local directory – and then build the Docker image from that?