diff --git a/templates/docker-debian.in b/templates/docker-debian.in index f17b199..4cb8547 100644 --- a/templates/docker-debian.in +++ b/templates/docker-debian.in @@ -61,7 +61,7 @@ COPY cmbenv /home/cmbenv/ # Precompile all python modules -RUN python3 -m compileall -q "@AUX_PREFIX@/lib/python@PYVERSION@/site-packages" +RUN python3 -m compileall -q "@AUX_PREFIX@/lib/python@PYVERSION@/site-packages" -x ".*jinja.*" # ====================================== diff --git a/templates/docker-ubuntu.in b/templates/docker-ubuntu.in index 6d354c9..c0a7a93 100644 --- a/templates/docker-ubuntu.in +++ b/templates/docker-ubuntu.in @@ -72,7 +72,7 @@ RUN mkdir -p "@AUX_PREFIX@/lib/python@PYVERSION@/site-packages" # Precompile all python modules -RUN python3 -m compileall -q "@AUX_PREFIX@/lib/python@PYVERSION@/site-packages" +RUN python3 -m compileall -q "@AUX_PREFIX@/lib/python@PYVERSION@/site-packages" -x ".*jinja.*" # ======================================