Skip to content

Commit cbb8cab

Browse files
committed
Removed some pip caching in case that is the cause for the old file lineno being referenced in error output.
1 parent 4a2c5a1 commit cbb8cab

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

anms.Containerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ RUN --mount=type=cache,target=/root/.cache/pip \
6161
${PIP} install --upgrade 'pip~=24.0' 'pip-tools~=7.5'
6262

6363
COPY deps/dtnma-ace /usr/src/dtnma-ace
64-
RUN --mount=type=cache,target=/root/.cache/pip \
64+
RUN \
6565
${PIP} wheel /usr/src/dtnma-ace -w ${PY_WHEEL_DIR} --no-deps
6666

6767
COPY deps/dtnma-camp /usr/src/dtnma-camp
68-
RUN --mount=type=cache,target=/root/.cache/pip \
68+
RUN \
6969
${PIP} wheel /usr/src/dtnma-camp -w ${PY_WHEEL_DIR} --no-deps
7070

7171
COPY deps/dtnma-adms /usr/src/dtnma-adms
@@ -244,13 +244,13 @@ ENV APP_WORK_DIR=/usr/src/anms-core
244244

245245
# Requirement of main module
246246
COPY anms-core/pyproject.toml ${APP_WORK_DIR}/
247-
RUN --mount=type=cache,target=/root/.cache/pip \
247+
RUN \
248248
cd ${APP_WORK_DIR} && \
249249
pip-compile --find-links ${PY_WHEEL_DIR} pyproject.toml && \
250250
${PIP} install --ignore-installed -r requirements.txt
251251
# Actual main package
252252
COPY anms-core/anms ${APP_WORK_DIR}/anms
253-
RUN --mount=type=cache,target=/root/.cache/pip \
253+
RUN \
254254
${PIP} install ${APP_WORK_DIR}
255255

256256
RUN mkdir -p /usr/local/share/ace && \

0 commit comments

Comments
 (0)