Skip to content

Commit aee9dd2

Browse files
committed
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 <mikko.ylinen@intel.com>
1 parent 8d01b49 commit aee9dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/docker/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fi
3232
if [ -z "${BUILDER}" -o "${BUILDER}" = 'docker' ] ; then
3333
docker build --pull -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} .
3434
elif [ "${BUILDER}" = 'buildah' ] ; then
35-
buildah bud --pull-always -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} .
35+
BUILDAH_RUNTIME=runc buildah bud --pull-always -t ${IMG}:${TAG} ${BUILD_ARGS} -f ${DOCKERFILE} .
3636
else
3737
(>&2 echo "Unknown builder ${BUILDER}")
3838
exit 1

0 commit comments

Comments
 (0)