This allows you to customize the .bashrc in any container. You can achieve something similar by using the --volume ~/.bashrc argument, but that's not always what you want. Sometimes you want to use the base image's native .bashrc and just extend it for your use case. You can specify a list of files/URLs of your favorite extensions
I often use --bashrc-extensions https://gist.githubusercontent.com/agyoungs/64f19391f864d0ea082b8a4d87a90d2b/raw/.bash-prompt.sh as that one is super helpful for me, but this extension is generic enough to allow anyone to customize it for their use case.
This allows you to customize the .bashrc in any container. You can achieve something similar by using the
--volume ~/.bashrc
argument, but that's not always what you want. Sometimes you want to use the base image's native .bashrc and just extend it for your use case. You can specify a list of files/URLs of your favorite extensionsI often use
--bashrc-extensions https://gist.githubusercontent.com/agyoungs/64f19391f864d0ea082b8a4d87a90d2b/raw/.bash-prompt.sh
as that one is super helpful for me, but this extension is generic enough to allow anyone to customize it for their use case.bashrc extension gist-link