Build lightweight Docker image
Docker now offers multi-stage builds for generating images with lower memory footprint. The idea is to compile DORiE and then move only its binaries to another very small container (derived from the alpine
image, for example). This requires the executables to be compiled as static binaries.
The Docker image should be automatically compiled from certain pushed branches (like release
or master
), but only if tests succeed. This means to open up the deploy
stage in the of CI/CD. The image has to be compiled and some tests have to be performed with it (I guess?). The image is then deployed to Docker Hub.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information