File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
6363COPY deps/dtnma-ace /usr/src/dtnma-ace
64- RUN \
64+ RUN --mount=type=cache,target=/root/.cache/pip \
6565 ${PIP} wheel /usr/src/dtnma-ace -w ${PY_WHEEL_DIR} --no-deps
6666
6767COPY deps/dtnma-camp /usr/src/dtnma-camp
68- RUN \
68+ RUN --mount=type=cache,target=/root/.cache/pip \
6969 ${PIP} wheel /usr/src/dtnma-camp -w ${PY_WHEEL_DIR} --no-deps
7070
7171COPY 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
246246COPY anms-core/pyproject.toml ${APP_WORK_DIR}/
247- RUN \
247+ RUN --mount=type=cache,target=/root/.cache/pip \
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
252252COPY anms-core/anms ${APP_WORK_DIR}/anms
253- RUN \
253+ RUN --mount=type=cache,target=/root/.cache/pip \
254254 ${PIP} install ${APP_WORK_DIR}
255255
256256RUN mkdir -p /usr/local/share/ace && \
You can’t perform that action at this time.
0 commit comments