The current container is based off the bitcoin-abc-dev image which is very big. Instead we can copy the binaries to a fresh minimal debian and just install the required dependencies.
This brings the image size from ~11.8GB down to ~173MB.
Differential D17491
[chronik] Reduce the size of the chronik-agora image Fabien on Wed, Jan 8, 12:12. Authored by
Details
The current container is based off the bitcoin-abc-dev image which is very big. Instead we can copy the binaries to a fresh minimal debian and just install the required dependencies. This brings the image size from ~11.8GB down to ~173MB. docker build -t agora . docker run agora:latest
Diff Detail
Event TimelineComment Actions
🤯 I'm often taken aback as well by the output from docker system prune -a ... very often it's something like "freed 60 gb of space"
|