updated template to remove /tmp/cct if cct is used
CCT in current state is not persisted in a image - there should not be
any CCT releated stuff in image.
Fixes
@@ -103,7 +103,7 @@ RUN [ "bash", "-x", "/tmp/scripts/{{ script.package }}/{{ script.exec }}" ]
{% if cct %}
USER {{ cct.user }}
-RUN python /opt/cct.zip {%if cct.verbose %}-v{% endif %} --modules-dir /tmp/cct/modules/ --artifacts-dir /tmp/artifacts/ {% for run in cct.run %} /tmp/cct/{{ run }} {% endfor %} && rm /opt/cct.zip
+RUN python /opt/cct.zip {%if cct.verbose %}-v{% endif %} --modules-dir /tmp/cct/modules/ --artifacts-dir /tmp/artifacts/ {% for run in cct.run %} /tmp/cct/{{ run }} {% endfor %} && rm /opt/cct.zip && rm -rf /tmp/cct
{% endif %}
