Skip to content

Commit

Permalink
Add apt lists clean up to python Dockerfile (#7803)
Browse files Browse the repository at this point in the history
Deletes the apt lists for the python image.
cc #946 #3896
  • Loading branch information
tvalenta authored Aug 14, 2023
1 parent 1cb4564 commit 0512395
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ RUN apt-get update \
libxml2-dev \
libxmlsec1-dev \
libgeos-dev \
python3-enchant
python3-enchant \
&& rm -rf /var/lib/apt/lists/*

COPY --chown=dependabot:dependabot python/helpers /opt/python/helpers
USER root
Expand Down Expand Up @@ -112,7 +113,8 @@ RUN apt-get update \
libxml2-dev \
libxmlsec1-dev \
libgeos-dev \
python3-enchant
python3-enchant \
&& rm -rf /var/lib/apt/lists/*

### PYTHON
COPY --chown=dependabot:dependabot python/helpers /opt/python/helpers
Expand Down

0 comments on commit 0512395

Please sign in to comment.