s2i-python-container: The /tmp/src directory is never removed.

Minor issue.

After the ‘assemble’ script does:

echo "---> Copying application source ..."
cp -Rf /tmp/src/. ./

Nothing ever appears to remove ‘/tmp/src’.

This means you have two copies of the application. If the source code and data files for the application were very large, that is an unnecessary waste of space.

Is that intentional for any specific reason?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 24 (20 by maintainers)

Commits related to this issue

Most upvoted comments

as an update, it looks like we are going to adopt the mv approach in the php image: https://github.com/sclorg/s2i-php-container/pull/114/files