From 025622f9725ce84a1e7961f36b8fe6b05eb75866 Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Tue, 10 Sep 2024 09:33:30 -0400 Subject: [PATCH] fix: install mesa-gl 24.1.0 due to libgallium missing --- dockerfiles/wolfi-base/Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dockerfiles/wolfi-base/Dockerfile b/dockerfiles/wolfi-base/Dockerfile index 7cf0023..5a2b170 100644 --- a/dockerfiles/wolfi-base/Dockerfile +++ b/dockerfiles/wolfi-base/Dockerfile @@ -5,8 +5,16 @@ COPY ./scripts/install-wolfi-libreoffice.sh install-wolfi-libreoffice.sh COPY ./scripts/install-wolfi-tesseract.sh install-wolfi-tesseract.sh USER root +# NOTE(robinson) - the mesa-gl section is a temporary workaround to install mesa-gl 24.1.0 because +# libgallum is missing in mesa-gl 24.2.0 from the wolfi package manager RUN apk update && \ - apk add py3.11-pip mesa-gl glib cmake bash libmagic wget git openjpeg && \ + apk add py3.11-pip glib cmake bash libmagic wget git openjpeg && \ + wget "https://utic-public-cf.s3.amazonaws.com/mesa-gl-24.1.0-r0.718c913d.apk" && \ + wget "https://utic-public-cf.s3.amazonaws.com/mesa-glapi-24.1.0-r0.4390a503.apk" && \ + apk add --allow-untrusted mesa-gl-24.1.0-r0.718c913d.apk && \ + apk add --allow-untrusted mesa-glapi-24.1.0-r0.4390a503.apk && \ + rm mesa-gl-24.1.0-r0.718c913d.apk && \ + rm mesa-glapi-24.1.0-r0.4390a503.apk && \ apk add --allow-untrusted packages/pandoc-3.1.8-r0.apk && \ apk add --allow-untrusted packages/poppler-23.09.0-r0.apk && \ ./install-wolfi-tesseract.sh && rm install-wolfi-tesseract.sh && \