diff --git a/Dockerfile b/Dockerfile
index e628ac1446b0890819d559dc149446dc56151797..30a5320eba4cbc89c220d4e68a9c9d996ffd8c54 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,11 +14,11 @@ RUN apk --no-cache add \
         libffi-dev \
         openssl-dev \
         build-base && \
-    pip3 install --upgrade \
+    pip3 install --no-cache-dir --upgrade \
         pip \
         cffi \
         wheel && \
-    pip3 install \
+    pip3 install --no-cache-dir \
         cryptography \
         ansible \
         mitogen ansible-lint jmespath \