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 Jan 23, 2024
1 parent 11ae84f commit 30c5491
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 30c5491

Please sign in to comment.