ocurrent-deployer
ocurrent-deployer copied to clipboard
Optimize Dockerfile
- Use BuildKit syntax to optimize copy from previous build step;
- Remove apt cache at the same layer
Can't manage to make the deployer use BuildKit on itself, I'm puzzled.
Do you need some ENV variables set on the docker stack to enable BuildKit?
ocaml-ci uses this https://github.com/ocurrent/ocaml-ci/blob/master/stack.yml#L75-L78