Create debian templates for the python 3 flask templates. #30
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.
The current python3-flask templates use the Alpine base python image.
Precompiled wheels for many important python libraries are not available
for Alpine, but are easily available for Debian. Using Debian makes it
much simpler and easier to use python packages like Numpy or Pillow.
Updated existing Alpine Docker files to include comments.
The template yaml file for the python-http-debian was modified to remove
unneeded libraries.
Both docker files were changed to force python 3.7. Gevent 1.4 is
incompatible with Python 3.8, and the rest of the docker files use
python 3.7.
This has been tested with a bare bones basic function and builds,
runs, and executes properly.
Change listening address for WSGI server.
Update the listening address for the WSGI server to use 0.0.0.0
instead of ''. This should resolve errors about Address family
not supported by protocol (Python OSError Errno 97.
Closes #26
Signed-off-by: Alex Ellis (OpenFaaS Ltd) [email protected]
Signed-off-by: Jeff Lowrey [email protected]