refactor: cleanup Dockerfile
- Switches from standalone thanos asdf plugin to three-in-one,
thanos
,promtool
andamtool
plugin. Project details are here: https://gitlab.com/gitlab-com/gl-infra/asdf-promtool/. - Switches
amtool
(the alertmanager validation tool) from hardcoded version to.tool-versions
/ASDF managed like everything else in this repository. - Pull binaries from other official images (where possible) and our own https://gitlab.com/gitlab-com/gl-infra/third-party-container-images/ project in some cases to DRY out building and installing binaries
- Avoid downloading tarballs and switch to official images instead.
- Allow renovate to automatically upgrade amtool versions, like we do for other tooling. A renovate version constrain has also been added, to ensure that we don't upgrade beyond the same minor version of alertmanager as is currently running in Production. See gitlab-com/gl-infra/common-ci-tasks!136 (merged) for details.
- Switches from gcloud base image with ruby installed to a ruby base image with gcloud installed
Edited by Andrew Newdigate