mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
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>
This commit is contained in:
parent
8d01b490a7
commit
aee9dd20f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user