Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions dockerfiles/wolfi-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ ENV TESSDATA_PREFIX=/usr/local/share/tessdata
USER ${NB_USER}
WORKDIR ${HOME}

# NOTE(alan): To resolve GHSA-58pv-8j8x-9vj2
RUN pip install --no-cache-dir --user --upgrade "jaraco.context>=6.1"

# NOTE(mike): This dummy call is a workaround for libreoffice not executing commands properly at the start of the container.
# The issue is decribed here: https://github.com/Unstructured-IO/unstructured/issues/3105
# soffice running twice explanation: https://github.com/jodconverter/jodconverter/issues/48#issuecomment-1863864333
Expand Down
3 changes: 3 additions & 0 deletions dockerfiles/wolfi-py3.12-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ RUN apk update && \
apk add bash python-3.12 py3.12-pip && \
apk cache clean

# NOTE(alan): To resolve GHSA-58pv-8j8x-9vj2
RUN pip install --no-cache-dir --user --upgrade "jaraco.context>=6.1"

CMD ["/bin/bash"]
Loading