Intermittent failures for Product Analytics e2e tests

Summary

Product Analytics tests are sometimes failing as the settings for Product Analytics do not appear in UI. This is most probably caused by an issue where Product Analytics feature flag does not get enabled correctly when we build custom GDK docker image using this dockerfile.

Example of the tests failure: https://gitlab.com/gitlab-org/analytics-section/product-analytics/product-analytics-devkit-mirror/-/jobs/8035695432

Attempts to fix the intermittent failures:

Relevant discussions:

Edited by Ievgen Chernikov