Skip to content

Commit

Permalink
chore(Dockerfile): Remove the cache for apt-get to not rebuild the pa…
Browse files Browse the repository at this point in the history
…ckages

Don't know why but the cache forced the command to be run again every time
  • Loading branch information
qgerome committed May 27, 2024
1 parent 524a29d commit 4276831
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions images/blsq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ LABEL org.opencontainers.image.licenses=MIT
USER root

# System libraries
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt-get update && apt-get install -y libgdal-dev libudunits2-dev
RUN apt-get update && apt-get install -y libgdal-dev libudunits2-dev

USER ${NB_UID}
WORKDIR $HOME
Expand Down

0 comments on commit 4276831

Please sign in to comment.