diff --git a/Makefile b/Makefile index dd768c49ff9..c6684aba6f0 100644 --- a/Makefile +++ b/Makefile @@ -244,5 +244,6 @@ $(eval $(call build-package,mailcap,2.1.53-r0)) $(eval $(call build-package,php,8.1.13-r0)) $(eval $(call build-package,composer,2.4.4-r0)) $(eval $(call build-package,docker-credential-ecr-login,0.6.0-r1)) +$(eval $(call build-package,wait-for-it,0.20200823-r0)) .build-packages: ${PACKAGES} diff --git a/wait-for-it.yaml b/wait-for-it.yaml new file mode 100644 index 00000000000..f3ed9e0f54f --- /dev/null +++ b/wait-for-it.yaml @@ -0,0 +1,28 @@ +package: + name: wait-for-it + version: 0.20200823 + epoch: 0 + description: Pure bash script to test and wait on the availability of a TCP host and port + target-architecture: + - all + copyright: + - paths: + - "*" + attestation: TODO + license: MIT + dependencies: + runtime: + - bash +environment: + contents: + packages: + - busybox + - ca-certificates-bundle +pipeline: + - uses: fetch + with: + uri: https://raw.githubusercontent.com/vishnubob/wait-for-it/81b1373f17855a4dc21156cfe1694c31d7d1792e/wait-for-it.sh + expected-sha256: b7a04f38de1e51e7455ecf63151c8c7e405bd2d45a2d4e16f6419db737a125d6 + extract: false + - runs: | + install -Dm755 wait-for-it.sh ${{targets.destdir}}/usr/bin/wait-for-it