cdrx / docker-pyinstaller

PyInstaller for Linux and Windows inside Docker
MIT License
616 stars 238 forks source link

Parallel builds collide in resulting file #81

Closed danielguardicore closed 4 years ago

danielguardicore commented 4 years ago

If we run two containers at the same time from the same source dir, they will overwrite the resulting file. Entrypoint.sh should distinguish and output to python3/linux/whatever and python2/linux/whatever, and as appropriate to the other OSes/versions

This can happen if we run python3 and python2 at the same time

danielguardicore commented 4 years ago

@cdrx any wish on how to fix this or can I make up my own solution and PR it?

cdrx commented 4 years ago

I'm open to ideas but not sure how this could be fixed without breaking existing installations by changing the path

danielguardicore commented 4 years ago

Not sure how many scripts you have that rely on it 😅 But I thought of just renaming the resulting file and creating a symlink to it in the original path.

acepace commented 4 years ago

Meh, won't implement it (different user, same person). Feel free to close