Automate image building
Need to set up automated image building for releases. Few things to worry about:
-
Use something other than docker
, maybe img or buildah that can build without Docker-in-Docker (DIND) -
Start using a builder image to force-cache the Cargo -
Figure out how to move the cargo package cache ( $CARGO_HOME
) to a direcotry inside the project for use when doing builds in Gitlab CI (maybe make a gitignore'd.cargo/cache/packages
dir?) -
Slim down the deploy image (most likely by using a builder image and pulling out the binary), or a multi-stage build.
Edited by MrMan