Potential Dockerfile Improvements
modem7 opened this issue · 2 comments
modem7 commented
Heya,
Great work so far! I'll be (re-)deploying this weekend!
I've been doing some work w/ Dockerfiles recently, and came across COPY --link whilst working with BUILDKIT_INLINE_CACHE=1
which may be useful.
Further information:
Docker workflow modifications for the above:
- https://github.com/docker/setup-buildx-action#buildkit-daemon-configuration
- https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md
It's already damn clean though! Hope it helps reduce build times and sizes!
enchant97 commented
Thanks for this. I'll have to do some testing, if everything goes well the next version will use this.