Hi everyone! Would it be possible to publish and maintain an official container image of a very small Django application?
My goal is to use it as a stable, always-fresh test fixture as part of testing the generic Django Helm chart in CI.
I noticed there’s already a proof-of-concept PR open. Could someone take a look and let me know what the next steps are?
I’m not sure Django could commit to maintaining that. It would require keeping many things up to date: the base Docker container, its OS dependencies, Python dependencies, an extra WSGI server… It seems like it wouldn’t serve many users either.
I think this PR isn’t quite what you’re looking for. The PR is within django-docker-box, a system for running Django’s unit tests within a Django container. There’s no Django project to launch there, just a test suite, for Django contributors.
Afaiu this PR proposed pushing pre-built containers to save contributors time building them, but since the project is fairly rarely used, it hasn’t seen any attention.
It’s probably a different feature request, but: I think it’s worth exploring a “default containerization” of Django. Over in the .NET world, for a couple years now they’ve had the ability to auto-containerize your code via the dotnet publish utility, and I feel like being able to produce a reasonable container from a source tree is turning into something that should be table stakes for backend frameworks these days.