Skip to content

Commit 34b3570

Browse files
committed
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 <mikko.ylinen@intel.com>
1 parent 77f564e commit 34b3570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ TAG=${TAG:-devel}
2020
if [ -z "$BUILDER" -o "$BUILDER" = 'docker' -o "$BUILDER" = 'podman' ] ; then
2121
${BUILDER} build --pull -t ${IMG}:${TAG} "$CWD/$DIR/"
2222
elif [ "$BUILDER" = 'buildah' ] ; then
23-
buildah bud --pull-always -t ${IMG}:${TAG} "$CWD/$DIR/"
23+
BUILDAH_RUNTIME=runc buildah bud --pull-always -t ${IMG}:${TAG} "$CWD/$DIR/"
2424
else
2525
(>&2 echo "Unknown builder $BUILDER")
2626
exit 1

0 commit comments

Comments
 (0)