Dockerfile improvements#514
Conversation
|
Thanks for the PR. Changes look good. But can you explain to me (or point me to some documentation) how the caching with with bind mount works. I am not familiar with it. |
See the Docker documentation for cache mounts https://docs.docker.com/build/cache/optimize/#use-cache-mounts There is also a simple example for rust. I added first a |
|
Is there anything missing for this PR? I cannot fix the pipeline, since the failing job is the push container image one... |
|
@pstoeckle No there is no issue with this PR. I just wanted to fix the container deployment issue first before merging this. But I can also do this afterwards. |
set -eux ;to avoid&&chaining and improve-qqto avoid clutter.dockerignoreto reduce container build context