Skip to content

Commit 88c4f5d

Browse files
committed
containers: fetch files from build images
- to check OS version for proper OpenCL runtime selection
1 parent 801385a commit 88c4f5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/container_helpers.sh

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ opencv_worker_container_cleanup()
3232
rm -rf $WORK_DIR/.container || true
3333
}
3434

35+
opencv_worker_container_fetch_image_file()
36+
{
37+
local FILE=$1
38+
docker run --rm --entrypoint cat ${DOCKER_IMAGE} "$FILE"
39+
}
40+
3541
opencv_worker_container_create()
3642
{
3743
local BUILD_IMAGE=$1

0 commit comments

Comments
 (0)