[EXPERIMENTAL] Dev docker fixes dom2022 #108
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sup, long time no mag code. Not sure exactly why today, but felt like seeing if I could get ubersystem running in docker.
This is a PR that attempts to modernize the Dockerfile stuff in uber/sideboard, it's experimental but builds working containers that are running cherrypy and listening on the right port (there's some other stuff beyond that point which is unhappy).
this is standalone and doesn't require any salt/config stuff, the idea would likely be to have salt still create all the config settings but replace all the install steps for sideboard with a prebuilt docker image. Should probably make things easier.
This is all a quick experiment, and I'm stomping on a lot of backwards compatibility and dependency install stuff that will likely need more work. in particular, setup.py is shredded (might be a good thing? but definitely breaks stuff)
I probably won't have time to mess with this much more beyond today, but, if you were looking to reincarnate Docker builds, hopefully this could be a decent starting point.
Plus, bonus, PyCharm these days has excellent support for debugging inside docker containers, and that's already working with just these changes.
I broke npm support temporarily, that needs to get added back in. Easier ways probably exist these days with docker multi-stage builds and "COPY FROM" commands in the Dockerfile.