Skip to content

Commit 53ac67f

Browse files
committed
busybox fix
1 parent f3d3f2d commit 53ac67f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ ARG PYTHON_VERSION="3.12"
1111
# Set up environment
1212
ENV 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

1616
USER root
1717

1818
RUN 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} && \

0 commit comments

Comments
 (0)