Improved PIP Config to not cache any files

This commit is contained in:
tabledevil
2023-11-30 09:13:35 +01:00
parent 839eb7d289
commit 64f876a7f6
2 changed files with 9 additions and 1 deletions

View File

@@ -37,10 +37,13 @@ RUN apt-get update && apt-get install -y \
; \
rm -rf /var/lib/apt/lists/*
# Configure PIP
ENV PYTHONDONTWRITEBYTECODE=1
ADD pip.conf /etc/pip.conf
# OLETOOLS & DIDIERSTEVENS
RUN git clone https://github.com/DidierStevens/DidierStevensSuite /opt/didierstevenssuite
RUN chmod +x /opt/didierstevenssuite/*py
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install psutil unotools oletools

5
pip.conf Normal file
View File

@@ -0,0 +1,5 @@
[install]
compile = no
[global]
no-cache-dir = True