Skip to content

Commit

Permalink
Fix dockerfile python package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysommer committed Oct 12, 2024
1 parent 63dd366 commit 8206d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ LABEL org.opencontainers.image.source="https://github.com/RDFLib/pySHACL"
LABEL maintainer="[email protected]"
RUN apk add --no-cache --update tini-static cython
RUN apk add --no-cache --update --virtual build-dependencies build-base libffi-dev python3-dev py3-cffi
# Update to latest setuptools and pip in /usr/local/lib to mitigate CVE-2024-6345
RUN pip3 install -U pip setuptools
WORKDIR /home/pyshacl
RUN addgroup -g 1000 -S pyshacl &&\
adduser --disabled-password --gecos "" --home "$(pwd)" --ingroup "pyshacl" --no-create-home --uid 1000 pyshacl
Expand Down

0 comments on commit 8206d7c

Please sign in to comment.