elasticsearch/distribution
Rory Hunter 30abc09a68
Add retries to Docker build apk commands (#65194)
Most of the Elasticsearch Docker build process implements retries
in order to make the process more robust in the face of transient
errors e.g. network failures. However, we missed out the `apk`
command in `master`'s Dockerfile. This PR adds the same retry loop
around `apk` as features elsewhere in the `Dockerfile`.

As part of this, I implemented a helper closure that generates the
same loop construct throughout the `Dockerfile`.
2020-11-20 08:03:07 +00:00
..
archives Move tasks in build scripts to task avoidance api (#64046) 2020-11-12 12:04:15 +01:00
bwc Wire local unreleased bwc versions more efficient for tests (#62473) 2020-10-01 10:45:21 +02:00
docker Add retries to Docker build apk commands (#65194) 2020-11-20 08:03:07 +00:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:20:53 -04:00
packages Use services for archive and file operations in tasks (#62968) 2020-10-01 10:47:41 +02:00
src Windows service installation should allow multiple values in ES_JAVA_OPTS (#64254) 2020-10-30 14:13:17 -04:00
tools Add plugin permission validation (#64751) 2020-11-19 14:21:34 -08:00
build.gradle Move tasks in build scripts to task avoidance api (#64046) 2020-11-12 12:04:15 +01:00