Closed robot-ranger closed 1 year ago
I did not update the automatic build since we need to have a discussion regarding which image we want to register with docker hub as the default mtconnect image. I have created some variants, but the demo only makes sense in certain situations. I think something that provides external configuration options using volumes would be best. What do you think?(Sent from mobile)On Sep 24, 2023, at 18:38, robot-ranger @.***> wrote: looks like docker files were refreshed and organized into /docker, but build-docker-image-yml was not updated. Error: buildx failed with: ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory seems like a trivial fix. i will setup a PR.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
i like the idea of a default, reference, agent image. we would certainly use it. personally, we dont have much preference on base OS. assuming the functionality and performance is similar, I would prefer the smaller image size with alpine.
i was going to setup build-docker-image.yml to use a repository configuration variable DOCKERFILE_PATH
or similar. this would allow per-repo configuration, but that is from my perspective, pushing to my own images to my hub acct. I have been maintaining my own fork really just to build docker images in the absence of standard/default image availability.
i do appreciate the volumes approach. makes applying our own configs very easy
here is what i was thinking:
https://github.com/robot-ranger/cppagent/commit/e9845054943c4fe0b5ecc4a508258270d9983c46
requires a configuration var set at the repo level: https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository
but this makes it easily swappable and configurable
That would work. I'll get to this once I finish a few other items.
I did something similar so we can do multiple builds. I used a matrix build and use include instead of env variables. See what you think
looks like docker files were refreshed and organized into /docker, but build-docker-image-yml was not updated.
Error: buildx failed with: ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
seems like a trivial fix. i will setup a PR.