Skip to content

Base Docker image(s) for WSGI microservices in the DD-DeCaF organization

License

Notifications You must be signed in to change notification settings

DD-DeCaF/wsgi-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSGI-Base

master Branch master Build Status

Base Docker image(s) for WSGI microservices in the DD-DeCaF organization.

Since we have decided to rely on gunicorn with gevent workers (and Flask) for our synchronous microservices, this image allows us to consolidate the costly compilation of gevent (or rather greenlet). As an added bonus openssl and certificates are always updated by the cron job building this base image.

Images

Three images are built:

  • dddecaf/wsgi-base:alpine as a base image for most of our services.
  • dddecaf/wsgi-base:alpine-compiler for those child images depending on dddecaf/wsgi-base:alpine, this image contains all the build tools in order to pip-compile dependencies.
  • dddecaf/wsgi-base:debian as a base image for those services that absolutely need a Debian environment (avoiding libc hassles and workarounds).

These image tags correspond to the latest tag. Additionally, a cron job on Travis CI builds these images with a date and short git commit tag, for example, dddecaf/wsgi-base:alpine_2020-04-28_72664d7. When compiling dependencies child images should rely on those explicitly.

All images include labels that detail the full commit hash and timestamp of their build time. This information is available via docker image inspect.

Copyright

  • Copyright (c) 2018-2020, Novo Nordisk Foundation Center for Biosustainability, Technical University of Denmark.
  • This work is licensed under the Apache License, Version 2.0

About

Base Docker image(s) for WSGI microservices in the DD-DeCaF organization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published