Skip to content

Commit

Permalink
Dockerfile: Make pip3 freeze check work for Python >=3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Oct 6, 2023
1 parent 5612262 commit b816f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN pip3 install --user --ignore-installed --disable-pip-version-check pip setup
&& \
pip3 check \
&& \
diff -u0 <(pip freeze | sort -f) <(sed -e '/--hash=/d' -e 's/ \\$//' -e '/^#/d' -e '/^$/d' requirements.txt | sort -f)
diff -u0 <(pip3 freeze | sed -e '/^setuptools==/d' -e '/^wheel==/d' | sort -f) <(sed -e '/--hash=/d' -e 's/ \\$//' -e '/^#/d' -e '/^$/d' requirements.txt | sort -f)

COPY docker/entrypoint.sh ./
ENTRYPOINT ["./entrypoint.sh"]
Expand Down

0 comments on commit b816f1c

Please sign in to comment.