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

Is this still your current approach? #10

Open
mpdude opened this issue Dec 22, 2021 · 4 comments
Open

Is this still your current approach? #10

mpdude opened this issue Dec 22, 2021 · 4 comments

Comments

@mpdude
Copy link

mpdude commented Dec 22, 2021

Hey folks,

two years have passed since @perprogramming pointed to this repo here via mpdude/docker-build-orchestration#2.

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

Thanks!

@frastel
Copy link

frastel commented Dec 22, 2021

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
Copy link
Member

pierres commented Dec 22, 2021

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
Copy link
Author

mpdude commented Dec 22, 2021

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
Copy link
Author

mpdude commented Jan 3, 2022

@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?

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

No branches or pull requests

3 participants