Skip to content

Commit b52c245

Browse files
Clean up apt lists files in Dockerfile for smaller image
1 parent b68d648 commit b52c245

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM python:3
22

33
RUN apt-get update && \
44
apt-get -y --no-install-recommends install automake libtool make gcc git python3-pip && \
5+
rm -rf /var/lib/apt/lists/* && \
56
pip3 --no-cache-dir install yara-python && \
67
wget https://github.com/VirusTotal/yara/archive/v3.8.1.tar.gz -O yara.tar.gz && \
78
tar -zxf yara.tar.gz && \

0 commit comments

Comments
 (0)