File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# are updated. The generated requirements.txt does not, so it is
99# more cacheable.
1010FROM python:3.12 AS requirements
11- RUN pip install pdm
11+ RUN pip install pdm==2.22.1
1212COPY pdm.lock pyproject.toml .
1313RUN pdm export --prod --no-hashes | grep -v ^-e | grep -v nidx_protos > requirements.lock.txt
1414
1515FROM python:3.12
1616RUN mkdir -p /usr/src/app
17- RUN pip install pdm
17+ RUN pip install pdm==2.22.1
1818RUN set -eux; \
1919 dpkgArch="$(dpkg --print-architecture)" ; \
2020 case "${dpkgArch##*-}" in \
Original file line number Diff line number Diff line change 33#
44
55FROM python:3.12 AS requirements
6- RUN pip install pdm
6+ RUN pip install pdm==2.22.1
77COPY pdm.lock pyproject.toml .
88RUN pdm export --prod --no-default -G sidecar --no-hashes | grep -v ^-e > requirements.lock.txt
99
1010FROM python:3.12
1111RUN mkdir -p /usr/src/app
12- RUN pip install pdm
12+ RUN pip install pdm==2.22.1
1313RUN set -eux; \
1414 dpkgArch="$(dpkg --print-architecture)"; \
1515 case "${dpkgArch##*-}" in \
@@ -36,7 +36,7 @@ COPY nucliadb_protos /usr/src/app/nucliadb_protos
3636COPY nucliadb_sidecar /usr/src/app/nucliadb_sidecar
3737
3838# Install our packages to the virtualenv
39- RUN pdm sync --prod --no-default -G sidecar --no-editable
39+ RUN pdm sync --prod --no-default -G sidecar --no-editable -v
4040
4141ENV PATH="/usr/src/app/.venv/bin:$PATH"
4242CMD ["node_sidecar"]
Original file line number Diff line number Diff line change 77# are updated. The generated requirements.txt does not, so it is
88# more cacheable.
99FROM python:3.12 AS requirements
10- RUN pip install pdm
10+ RUN pip install pdm==2.22.1
1111COPY pdm.lock pyproject.toml .
1212RUN pdm export --prod --no-hashes | grep -v ^-e | grep -v nidx_protos > requirements.lock.txt
1313
1414FROM python:3.12
15- RUN pip install pdm
15+ RUN pip install pdm==2.22.1
1616RUN set -eux; \
1717 dpkgArch="$(dpkg --print-architecture)"; \
1818 case "${dpkgArch##*-}" in \
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ RUN set -eux; \
5353# are updated. The generated requirements.txt does not, so it is
5454# more cacheable.
5555FROM python:3.12 AS requirements
56- RUN pip install pdm
56+ RUN pip install pdm==2.22.1
5757COPY pdm.lock pyproject.toml .
5858RUN pdm export --prod --no-hashes | grep -v ^-e | grep -v nidx_protos > requirements.lock.txt
5959
6060FROM python:3.12
61- RUN pip install pdm
61+ RUN pip install pdm==2.22.1
6262RUN set -eux; \
6363 dpkgArch="$(dpkg --print-architecture)"; \
6464 case "${dpkgArch##*-}" in \
You can’t perform that action at this time.
0 commit comments