GrahamDumpleton / mod_wsgi-docker

Docker images for Apache/mod_wsgi.
Apache License 2.0
72 stars 36 forks source link

Officially abandon mod_wsgi-docker project. #34

Open GrahamDumpleton opened 5 years ago

GrahamDumpleton commented 5 years ago

The mod_wsgi-docker project has effectively been dead for some time. There are various reasons this happened. These include:

So the mod_wsgi-docker project really needs to be officially abandoned. The issue is for the few using it what you do. Pre-built images based on warpdrive also died due to lack of interest from anyone.

The only real suggestion is that you use warpdrive if you like the idea of an opinionated build and runtime, but build the image yourself using your own Dockerfile from the official Python base images.

I outlined a Dockerfile to get things started in this direction in the talk:

See slides 23 and 24.

Do note though that that Dockerfile is incomplete, and is now known to have security issues related to some things it does if you are not running images in a container runtime which has been setup with security in mind. Additional steps would need to be added to it to fix those issues.

Anyway, this issue is here to solicit feedback for those few using the mod_wsgi-docker image, as to what you would like to see happen. I don't want to be maintaining this image, nor the alternate images which used warpdrive. I still might entertain expanding on and describing a recommended Dockerfile which uses warpdrive, but you build yourself to create an image. Right now I am not even using warpdrive though, so I don't have too much incentive to do that either if only going to be a handful of users.

Please provide any thoughts you may have as comments here.

pcolmer commented 5 years ago

I've only recently started using mod_wsgi-docker because the underlying host has a lot of Python 2 code that needs updating and all new code being written is Python 3, so using a container seemed to be the cleanest way of solving that problem.

Having looked at slides 23 and 24, I think that the simplest solution is:

build the image yourself using your own Dockerfile from the official Python base images.

but I think it would be helpful if there was, perhaps, a new git repository containing that Dockerfile so that (a) there is a published starting point for users and (b) potentially the opportunity for a (small) community to work on any improvements, suggestions, maintenance, etc.

GrahamDumpleton commented 5 years ago

My latest playing around in that space was:

GrahamDumpleton commented 5 years ago

And if you want to understand the underlying rational for why it is created that way, try and read through the content for this workshop on building container images.