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

Making an image with a custom python package preinstalled #681

Open
jackrankin opened this issue Aug 18, 2024 · 2 comments
Open

Making an image with a custom python package preinstalled #681

jackrankin opened this issue Aug 18, 2024 · 2 comments

Comments

@jackrankin
Copy link

I'm attempting to deploy a piston container on flyio, but I need to have an image with python preinstalled and with some custom python packages (just the defaults with torch).

I have attempted to do so by using the build.sh script in the builder directory, but this will not download any custom packages that I specify in the packages directory as it downloads the packages from the web i think.

Any ideas?

@jackrankin
Copy link
Author

jackrankin commented Aug 19, 2024

Update: I am attempting to build using the docker-compose.dev.yml file and everything seems to get installed properly with the custom packages. But when I run the code i get this:

/piston/packages/python/3.12.0/run: line 3: /piston/packages/python/3.12.0/bin/python3.12: No such file or directory

I don't really get why because ppman says that python is installed and I can see the binaries are in the docker container

@karastoyanov
Copy link

I have the same issue, but with Csharp. mono runtime is already installed, but every time when i send a POST request to the endpoint i am getting stderr
"/runtime/bin/csc: 2: exec: /piston/packages/mono/6.12.0/bin/mono: not found\n"

Have you found any workaround?

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

2 participants