qvest-digital / loginsrv

JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..
MIT License
1.92k stars 150 forks source link

Update Dockerfile for fully static build #161

Open kernle32dll opened 4 years ago

kernle32dll commented 4 years ago

This updates the docker build, to be fully static, and not contain anything else. While this greatly reduced the image size (to just under 9mb, from 18mb), the flip side is losing the ability to do anything useful in a running container (as there are no tools available, courtesy of the scratch image).

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 91.419% when pulling 5509a018cadab8f50dcbe308916b2a9eb59c1a64 on kernle32dll:fully-static-build into eb0ac268287f8d72ecff5308abe801ff85f79ca9 on tarent:master.