ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.18k stars 3.02k forks source link

feat: add entrypoint.sh and allow to specify more cli flags [skip changelog] #10551

Closed crebsy closed 1 month ago

crebsy commented 1 month ago

This pr adds the option to specify multiple cli flags to the kubo command without rebuilding the docker image by providing a CMD_EXTRA_FLAGS env variable.

crebsy commented 1 month ago

@lidel thanks for your review, I just wanted to have an easy way to add additional daemon flags without repeating the two default ones in the Dockerfile but I've totally missed the other ipfs subcommands 🤦‍♂️

You're right, I'll just override the actual command passed to docker to run the daemon with custom flags; closing this pr.