Skip to content

[Devops] Add Blender source to Docker images#21793

Open
sarnex wants to merge 2 commits intointel:syclfrom
sarnex:blenderlin
Open

[Devops] Add Blender source to Docker images#21793
sarnex wants to merge 2 commits intointel:syclfrom
sarnex:blenderlin

Conversation

@sarnex
Copy link
Copy Markdown
Contributor

@sarnex sarnex commented Apr 16, 2026

I am working to add a CI workflow to build/run Blender on Linux, we already have one for Windows.

Preparing the Blender source is a bit complicated and it's a large download (~1GB) so let's just add it to a new Blender Docker image so running the CI job will be fast.

@sarnex sarnex changed the title test [Devops] Add Blender source to Docker images Apr 16, 2026
Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
@sarnex sarnex marked this pull request as ready for review April 16, 2026 18:59
@sarnex sarnex requested a review from a team as a code owner April 16, 2026 18:59
Copy link
Copy Markdown
Contributor

@KornevNikita KornevNikita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does Blender local build also take ~1Gb of space? Would it be better to create a separate image based on ubuntu build / intel_drivers images to avoid slowing down pre-commit etc.?
UPD copilot says there is some caching on self-hosted runners, so probably it's not an issue

@sarnex
Copy link
Copy Markdown
Contributor Author

sarnex commented Apr 17, 2026

Thanks for the review. Yeah let me just create a separate image, thanks.

Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
@sarnex
Copy link
Copy Markdown
Contributor Author

sarnex commented Apr 17, 2026

@KornevNikita Latest commit should address feedback, thanks!

Copy link
Copy Markdown
Contributor

@KornevNikita KornevNikita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor comments, although my approval is not required to merge:)

# as the ones above were not yet pushed.
build_and_push_blender_images:
needs: build_and_push_driver_images
name: "Containers"
Copy link
Copy Markdown
Contributor

@KornevNikita KornevNikita Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we have 3 jobs named "Containers" here. Could we use some specific name?


USER sycl

ENTRYPOINT ["/bin/bash", "/drivers_entrypoint.sh"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this given this doesn't work? (or was it fixed?)

set -e
set -o pipefail

apt update && apt install -yqq git-lfs
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we should clean-up this at the end to reduce the image size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants