diff --git a/Dockerfile b/Dockerfile index 559c3bc..7dc85b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/pip.conf b/pip.conf new file mode 100644 index 0000000..b3f5298 --- /dev/null +++ b/pip.conf @@ -0,0 +1,5 @@ +[install] +compile = no + +[global] +no-cache-dir = True