I am writing a formula for my company’s private tap to install the AWS ECR login helper tool. The last step is to modify the file in
~/.docker/config to include our ECR name. This is obviously not going to work inside the
install step because of sandboxing.
What’s the best-practice for modifying files like this? I could add something in
caveats but it’d really be nice (especially for our non-technical users) to just do the change automatically.