Hi all,
For those that are still encountering this blocker, I was able to overcome it by adding the following entries to my Linux users .bashrc (Bash configuration) file:
export GOOGLE_API_KEY="no"
export GOOGLE_DEFAULT_CLIENT_ID="no"
export GOOGLE_DEFAULT_CLIENT_SECRET="no"
Alternately, you can include the following in your Docker container environment variables, as appropriate:
- While your environment variables disable Google APIs, Chromium requires proper configuration:
docker run ... --env GOOGLE_API_KEY="your_key" --env GOOGLE_DEFAULT_CLIENT_ID="your_id" --env GOOGLE_DEFAULT_CLIENT_SECRET="your_secret" ...
- If APIs aren’t needed, use a Chromium launch argument to bypass checks:
--additional-chrome-args="--disable-features=GoogleApiKeyIntegration"
- Finally, you can include any of these and other environment variables in a plain text file and reference it as such in the Docker command:
--envfile .yourEnvironmentFile
I hope this saves you some frustration!