Skip to content

Commit

Permalink
Merge pull request #1415 from garberg/clean_apt_lists
Browse files Browse the repository at this point in the history
Clean apt lists after apt install in Dockerfiles
  • Loading branch information
garberg authored Jan 10, 2025
2 parents cfd4cda + ecbad99 commit 7469c07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.nipapd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ RUN apt-get update -qy && apt-get upgrade -qy \
python3-dev \
python3-pip \
software-properties-common \
&& apt-get clean
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install any additional CA certs from ca_certs folder required by corp proxies etc
RUN mkdir /ca_certs
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.www
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ RUN apt-get update -qy && apt-get upgrade -qy \
python3-pip \
python3-dev \
&& pip3 --no-input install --no-cache-dir envtpl==0.7.2 \
&& apt-get clean
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Install any additional CA certs from ca_certs folder required by corp proxies etc
RUN mkdir /ca_certs
Expand Down

0 comments on commit 7469c07

Please sign in to comment.