From bdc5d74988703da488855783edc40dbd027ac643 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Fri, 26 Feb 2021 11:31:45 +0200 Subject: [PATCH] images: force buildah to use runc buildah 1.19.4 and its dependencies when installed from the libcontainers OBS repo, defaulted to crun and that made the image builds to fail. By forcing buildah to use runc instead, everything works OK. Signed-off-by: Mikko Ylinen --- build/docker/build-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/docker/build-image.sh b/build/docker/build-image.sh index d4eeee9ba..2400745c4 100755 --- a/build/docker/build-image.sh +++ b/build/docker/build-image.sh @@ -32,7 +32,7 @@ fi if [ -z "${BUILDER}" -o "${BUILDER}" = 'docker' ] ; then docker build --pull -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} . elif [ "${BUILDER}" = 'buildah' ] ; then - buildah bud --pull-always -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} . + BUILDAH_RUNTIME=runc buildah bud --pull-always -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} . else (>&2 echo "Unknown builder ${BUILDER}") exit 1