Skip to content

Commit

Permalink
Docker build: make sure to bust cache before installing openeo-aggreg…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
soxofaan committed Jan 10, 2025
1 parent 1103ee5 commit da9d965
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --upgrade pip


# Use ARG trick with to allow triggering a docker cache miss at this point.
# Depends `--build-arg` usage, e.g. as done from jenkinslib
ARG CACHE_DATE=0 PACKAGE_NAME=0


# Install openeo-aggregator
COPY --chown=openeo docker/requirements.txt .
RUN pip install -r requirements.txt
Expand Down

0 comments on commit da9d965

Please sign in to comment.