File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ ARG PYTHON_VERSION="3.12"
1111# Set up environment
1212ENV PYTHON=python${PYTHON_VERSION}
1313
14- COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
14+ COPY --from=ghcr.io/astral-sh/uv:0.10.0 /uv /usr/local/bin/uv
1515
1616USER root
1717
1818RUN apk update && \
19- apk add libxml2 python-3.12 python-3.12-base py3.12-pip glib \
19+ apk add libxml2 python-3.12 python-3.12-base glib \
2020 mesa-gl mesa-libgallium cmake bash libmagic wget git openjpeg \
2121 poppler poppler-utils poppler-glib libreoffice tesseract && \
2222 git clone --depth 1 https://github.com/tesseract-ocr/tessdata.git /tmp/tessdata && \
@@ -32,7 +32,6 @@ RUN apk update && \
3232 ln -s /usr/lib/libreoffice/program/soffice.bin /usr/bin/soffice && \
3333 chmod +x /usr/lib/libreoffice/program/soffice.bin && \
3434 apk add --no-cache font-ubuntu fontconfig && \
35- apk upgrade --no-cache py3.12-pip && \
3635 fc-cache -fv && \
3736 ln -sf /usr/bin/$PYTHON /usr/bin/python3 && \
3837 addgroup --gid ${NB_UID} ${NB_USER} && \
You can’t perform that action at this time.
0 commit comments