-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Feature Request: Docker Compose #426
Comments
I don't see how that would work. |
My main goal is building without touching the host, and I'd prefer it in docker, but right now I'm most likely going to use a systemd-nspawn based approach. |
What do you mean, without touching the host? |
I know that compose can build a dockerfile so I thought that could potentially be part of the system. |
There is a ton more stuff involved than just building some Dockerfile. This is simply not some server-side service you can host. So I'm still confused what host is there to not touch. |
I was thinking that the docker compose could run a Dockerfile that clones the GitHub repo and runs a different version of
I have a setup where my server builds a custom ffmpeg and places it in a specific folder which I mount to docker containers as a modified ffmpeg. I'd intend for a docker compose version to start the build on docker compose up and for it to stop itself when finished. |
That's just not possible. |
The easiest way I could do this currently I think, is if I had a docker compose that builds a Dockerfile that installs docker and clones your repo and then the docker compose uses entrypoint to run |
The main thing I don't like is that seems it'd be slower/less efficient. |
docker is not a VM. So I don't think there is any notable performance difference. |
Yep.
That's good, the only other complication is mounting the cache to the host so that it's not completely reset every time. I think I'll most likely end up setting this up using systemd-nspawn though. (My current setup is a different, lesser build script in systemd-nspawn with a combination of scripts I created to set it up and run it.) |
Thank you so much for your time, I appreciate the conversation. |
I wish there as a docker compose file I could configure (with the variant and stuff as well as output location and maybe cache location) to use for building FFmpeg using this repo's scripts automatically.
I would be willing to help, I'm just not sure how to go about the aspect that this already uses docker for most of the build but does stuff on the host around it.
The text was updated successfully, but these errors were encountered: