Skip to content

Fix base image for libcarna-python=0.2.0 + dependencies - #4377

Merged
bgruening merged 1 commit into
BioContainers:masterfrom
kostrykin:kostrykin-patch-1
Dec 5, 2026
Merged

bgruening merged 1 commit into
BioContainers:masterfrom
kostrykin:kostrykin-patch-1

Conversation

@kostrykin

@kostrykin kostrykin commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

So far, the quay.io/bioconda/base-glibc-debian-bash image was used: #3817

This, however, lacks EGL support. The libegl1 apt package is installed in the base image, but its dependency libgl1-mesa-dri is explicitly removed (seemingly due to size constraints https://github.com/bioconda/bioconda-containers/blob/7b022b17af3f18619b629c1ee13df151c66b7fb8/images/base-glibc-debian-bash/Dockerfile#L45-L50). As a consequence, the file swrast_dri.so is missing in the base image (which seems to be tolerable for most applications).

However, libcarna-python requires swrast_dri.so for software rendering. Aside of that, hardware accelerated rendering with EGL is also not available in the base image (using an NVIDIA GPU), because the corresponding vendor file is missing.

To fix that, I have created the base image docker.io/kostrykin/base-glibc-debian-bash-egl that extends quay.io/bioconda/base-glibc-debian-bash and comes with all dependencies of libegl1 installed, supporting software rendering with EGL as well as hardware accelerated rendering (using an NVIDIA GPU). The base image is built in https://github.com/kostrykin/base-glibc-debian-bash-egl.

@bgruening
bgruening merged commit 4bb592f into BioContainers:master Dec 5, 2026
1 check passed
@bgruening

Copy link
Copy Markdown
Member

Danke!

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