Skip to content

Update 16.0.Dockerfile for Google search

Sarah German requested to merge goog-key-arrrrrrg into 16.0

What does this MR do and why?

We need to have the GOOGLE_SEARCH_KEY environment variable available during the build process to get Google search working on the 16.0 site.

While we did backport the required changes in !3872 (merged) and !3876 (merged), we also need to update 16.0's Dockerfile to match the update in single.Dockerfile (which is just a template).

We can see in the last build that GOOGLE_SEARCH_KEY was not consumed:

[Warning] One or more build-args [GOOGLE_SEARCH_KEY] were not consumed

This should clear up that warning and provide 16.0 with the env var when building in Docker.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sarah German

Merge request reports