Patch /etc/hosts to fix a broken Envoy test
diff --git a/buildkite/startup-docker.sh b/buildkite/startup-docker.sh
index 1517e57..f2dfa91 100755
--- a/buildkite/startup-docker.sh
+++ b/buildkite/startup-docker.sh
@@ -46,6 +46,9 @@
chown buildkite-agent:buildkite-agent /var/lib/docker/bazel-cache
chmod 0755 /var/lib/docker/bazel-cache
+# Let 'localhost' resolve to '::1', otherwise one of Envoy's tests fails.
+sed -i 's/^::1 .*/::1 localhost ip6-localhost ip6-loopback/' /etc/hosts
+
# Get configuration parameters.
case $(hostname -f) in
*.bazel-public.*)