Skip to content

Commit

Permalink
build: Clean apt lists after apt install
Browse files Browse the repository at this point in the history
  • Loading branch information
garberg committed Jan 10, 2025
1 parent 2ed56fe commit ecbad99
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 ecbad99

Please sign in to comment.