From 42ebf8484d4ee8fe015a004ba8333ba02c731e18 Mon Sep 17 00:00:00 2001 From: Piotr Rygielski <114479+vikin91@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:28:40 +0200 Subject: [PATCH 1/2] Update Bats to 1.10.0 --- images/stackrox-test.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/stackrox-test.Dockerfile b/images/stackrox-test.Dockerfile index 17595b7a..7caad787 100644 --- a/images/stackrox-test.Dockerfile +++ b/images/stackrox-test.Dockerfile @@ -61,7 +61,7 @@ ENV PATH=$PATH:/usr/pgsql-14/bin # Install bats RUN set -ex \ - && npm install -g bats@1.5.0 bats-support@0.3.0 bats-assert@2.0.0 tap-junit \ + && npm install -g bats@1.10.0 bats-support@0.3.0 bats-assert@2.1.0 tap-junit \ && bats -v # Install docker binary From 19b93b3d31fb49ba5def52c5c0ae28e7abce3284 Mon Sep 17 00:00:00 2001 From: Piotr Rygielski <114479+vikin91@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:48:48 +0200 Subject: [PATCH 2/2] Keep bats-assert at v2.0.0 bats-assert@2.1.0 seems to be unavailable over npm yet --- images/stackrox-test.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/stackrox-test.Dockerfile b/images/stackrox-test.Dockerfile index 7caad787..b768c2c5 100644 --- a/images/stackrox-test.Dockerfile +++ b/images/stackrox-test.Dockerfile @@ -61,7 +61,7 @@ ENV PATH=$PATH:/usr/pgsql-14/bin # Install bats RUN set -ex \ - && npm install -g bats@1.10.0 bats-support@0.3.0 bats-assert@2.1.0 tap-junit \ + && npm install -g bats@1.10.0 bats-support@0.3.0 bats-assert@2.0.0 tap-junit \ && bats -v # Install docker binary