Skip to content

Commit da9d965

Browse files
committed
Docker build: make sure to bust cache before installing openeo-aggregator
1 parent 1103ee5 commit da9d965

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ RUN python3 -m venv $VIRTUAL_ENV
3333
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
3434
RUN pip install --upgrade pip
3535

36+
37+
# Use ARG trick with to allow triggering a docker cache miss at this point.
38+
# Depends `--build-arg` usage, e.g. as done from jenkinslib
39+
ARG CACHE_DATE=0 PACKAGE_NAME=0
40+
41+
3642
# Install openeo-aggregator
3743
COPY --chown=openeo docker/requirements.txt .
3844
RUN pip install -r requirements.txt

0 commit comments

Comments
 (0)