From 056a7dc362d86162549fd23585f53f89e09f982d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?=
 =?UTF-8?q?=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= <zimniy@cyberbrain.pw>
Date: Wed, 23 Mar 2022 01:21:37 +0300
Subject: [PATCH] Update Dockerfile

---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index 8cf9499..e229aa7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ RUN apk --no-cache add python3 && \
     python3 -m venv /opt/ansible && \
     pip3 install --ignore-installed --no-cache-dir --upgrade --disable-pip-version-check pip setuptools wheel && \
     pip3 install --ignore-installed --no-cache-dir ansible ${ANSIBLE_PACKAGES} && \
+    find /opt/ansible \( -type d -a -name test -o -name tests \) -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rvf '{}' \+ && \
     #apk del build-dependencies && \
     rm -rf /var/cache/apk/*
 
-- 
GitLab