You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker: speed up building, improve documentation (bitcoinops#2222)
* docker: avoid unnecessary cloning
The user must already have the repo cloned to use the Dockerfile,
so don't clone it again. This speeds up the building process by
avoiding unnecessary operations and improving caching.
* docker: make caching more robust
Best practice is to combine apt-get update and apt-get install
in one command to prevent caching issues.
See https://docs.docker.com/build/building/best-practices/#apt-get
* docker: improve README
Elaborate a bit more on the fact that manually rebuilding is
typically not necessary. Also remove the now deprecated
docker-compose (V1) and replace it with docker compose (v2).
0 commit comments