Force contraints location

This commit is contained in:
Adrià Casajús 2024-07-29 13:41:43 +02:00
parent 02b506ba0f
commit 08a64f0fa6
No known key found for this signature in database
GPG Key ID: F0033226A5AFC9B9

View File

@ -29,6 +29,9 @@ RUN apt-get update \
&& chmod +x rye \ && chmod +x rye \
&& mv rye /usr/bin/rye \ && mv rye /usr/bin/rye \
&& rye toolchain fetch `cat .python-version` \ && rye toolchain fetch `cat .python-version` \
&& printf '[behavior]\nuse-uv=false\n' > /root/.rye/config.toml \
&& echo 'setuptools<72' > /code/constraints.txt \
&& export PIP_CONSTRAINT=/code/constraints.txt \
&& rye sync --no-lock --no-dev \ && rye sync --no-lock --no-dev \
&& apt-get autoremove -y \ && apt-get autoremove -y \
&& apt-get purge -y curl netcat-traditional build-essential pkg-config cmake ninja-build python3-dev clang\ && apt-get purge -y curl netcat-traditional build-essential pkg-config cmake ninja-build python3-dev clang\