add intel-gpu-plugin docker image to stable docker image build
The intel gpu plugin is Kubernetes device plugin for discovering and advertising intel GPU (with driver type i915) in a Kubernetes host. StarlingX support requires us to build images: starlingx/k8s-intel-device: derived from ... https://github.com/intel/intel-device-plugins-for-kubernetes Change-Id: I3c39874444adb65c8e467a645e47b1ac8cafadb1 Story: 2005937 Task: 34285 Depends-On: https://review.opendev.org/668803 Signed-off-by: SidneyAn <ran1.an@intel.com>
This commit is contained in:
parent
b45f1304b5
commit
bcf2974212
1
distroless_stable_docker_images.inc
Normal file
1
distroless_stable_docker_images.inc
Normal file
@ -0,0 +1 @@
|
||||
kubernetes/plugins/intel-device-plugin
|
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
IMAGE_TAG=$1
|
||||
PROXY=$2
|
||||
DEVICE='intel-gpu-plugin'
|
||||
|
||||
if [ -z "${IMAGE_TAG}" ]; then
|
||||
echo "image tag must be specified. build ${DEVICE} Aborting..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make ${DEVICE}
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to make intel-gpu-plugin. Aborting..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# will exit 1 if "${IMAGE_TAG}" do not match docker tag formate
|
||||
docker tag ${DEVICE}:devel "${IMAGE_TAG}"
|
@ -0,0 +1,6 @@
|
||||
BUILDER=script
|
||||
LABEL=intel-gpu-plugin
|
||||
SOURCE_REPO=https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
||||
SOURCE_REF=156970adcaa6d4db42532110f370505d6777135b
|
||||
COMMAND=bash
|
||||
SCRIPT=build-intel-gpu-plugin-image.sh
|
Loading…
Reference in New Issue
Block a user