ci: improve docker build process aadding --no-cache to poetry install steps (cache is on docker image level anyway)
Browse files
dockerfiles/dockerfile-samgis-base
CHANGED
@@ -49,7 +49,7 @@ RUN python -m pip install -r ${WORKDIR_ROOT}/requirements_poetry.txt
|
|
49 |
RUN which poetry && poetry --version && poetry config --list
|
50 |
RUN poetry config virtualenvs.path ${WORKDIR_ROOT}
|
51 |
RUN echo "# poetry config --list #" && poetry config --list
|
52 |
-
RUN poetry install --with ${DEPENDENCY_GROUP} --no-root
|
53 |
|
54 |
|
55 |
FROM python:3.11-slim-bookworm AS runtime
|
|
|
49 |
RUN which poetry && poetry --version && poetry config --list
|
50 |
RUN poetry config virtualenvs.path ${WORKDIR_ROOT}
|
51 |
RUN echo "# poetry config --list #" && poetry config --list
|
52 |
+
RUN poetry install --with ${DEPENDENCY_GROUP} --no-root --no-cache
|
53 |
|
54 |
|
55 |
FROM python:3.11-slim-bookworm AS runtime
|