decred / dcrdocker

Dockerfiles for Decred.
ISC License
10 stars 17 forks source link

Add curl to images #41

Open logicminds opened 6 years ago

logicminds commented 6 years ago

Previously the dcrd image removed curl as part of the cleanup step. However, curl is needed in order to run health checks to ensure the service is up and running correctly using the HEALTHCHECK feature of docker.

dajohi commented 5 years ago

@logicminds can you confirm or do you still disagree? :)

logicminds commented 5 years ago

I am not sure which image you checked, but curl is removed in one of the last steps of the image build process.

You can pull down the latest image and verify like this.

docker run -ti --rm decred/dcrd-testnet /bin/bash
decred@fa0b19bd45a1:~$ which curl
decred@fa0b19bd45a1:~$ curl
bash: curl: command not found
decred@fa0b19bd45a1:~$