Is there a pattern or configuration that would always source in dotfiles from the repository for any bitbucket pipeline image/container?
For example, if I have a repository with .bashrc/.bash_profile along with some other shared dotfiles that contain functions useful for multiple different pipelines that all use different Docker container types. I'd like to always source in these files so that every pipeline, and corresponding Docker container has these functions available.
I don't want to create a custom Docker image for every type of container I may use in my pipelines with these files.
I'm looking for something that Bitbucket Pipelines supports out-of-the-box rather than including a script step that does `source .bashrc` or `source dotfiles/.shared_functions`