Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyinstaller pattern #411

Open
andyneff opened this issue Jan 5, 2022 · 0 comments
Open

Pyinstaller pattern #411

andyneff opened this issue Jan 5, 2022 · 0 comments

Comments

@andyneff
Copy link
Member

andyneff commented Jan 5, 2022

The current pyinstaller pattern is not going to work. Trying to follow similar patterns such as make self will not result in a useful portable pyinstaller executable, because it can rely on the python in a docker image, which itself, will not be portable.

Using a dedicated default image for pyinstaller, will not work, because there is too much potential for it to be incompatible with the running image for a project, so this will not solve anything else.

The correct solution would be to add docker command to the end of a docker image, to say, install a potable version of python (using anaconda again). This should be relatively straight forward, using

ARG OS
FROM ${OS}
... check python version, install miniconda closest to it
... setup pyinstaller 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant