Closed janaz closed 4 years ago
Currently the docker image size is 160MB because it includes temporary files created during the compilation step.
This change is using a separate build stage to compile the static binary which is then copied to the target image. The resulting image size is 20MB
Some additional changes:
nobody
root
Fixes #23
Is it possible to do a re-release of 1.4.0 or a point release of 1.4.1 so the changes are available?
Could a new release please be cut with this change?
Here you go - thanks @TheTaylorHicks !
Currently the docker image size is 160MB because it includes temporary files created during the compilation step.
This change is using a separate build stage to compile the static binary which is then copied to the target image. The resulting image size is 20MB
Some additional changes:
nobody
because we don't need to beroot
to execute the programFixes #23