From 34b35703123bccf0233915d0bfdb2d06bb32d6be Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Mon, 22 Jul 2024 13:53:18 +0300 Subject: [PATCH] demo: use runc for buildah Github crypto-perf/opae-nlb-demo image builds using buildah started failing without a reason. While we could continue to debug the root cause, let's admit the version is so old and a reasonable configuration exists that makes the error go away: using BUILDAH_RUNTIME=runc just like we use for the plugin images seems sufficient. Signed-off-by: Mikko Ylinen --- demo/build-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/build-image.sh b/demo/build-image.sh index df2e9f82..750152ba 100755 --- a/demo/build-image.sh +++ b/demo/build-image.sh @@ -20,7 +20,7 @@ TAG=${TAG:-devel} if [ -z "$BUILDER" -o "$BUILDER" = 'docker' -o "$BUILDER" = 'podman' ] ; then ${BUILDER} build --pull -t ${IMG}:${TAG} "$CWD/$DIR/" elif [ "$BUILDER" = 'buildah' ] ; then - buildah bud --pull-always -t ${IMG}:${TAG} "$CWD/$DIR/" + BUILDAH_RUNTIME=runc buildah bud --pull-always -t ${IMG}:${TAG} "$CWD/$DIR/" else (>&2 echo "Unknown builder $BUILDER") exit 1