Closed razvand closed 3 months ago
Introduce an HTTP Flask server as binary compatibility run. Install Python + Flask using Dockerfile. Use the unikraft.org/python:3.12 registry image.
Dockerfile
unikraft.org/python:3.12
Add typical files for a bincompat app:
Kraftfile
README.md
requirements.txt
server.py
I get this error when running, any ideas? /tmp/kraft-run-1758828628/unikraft/bin/kernel: can't open file '/usr/bin/python3': [Errno 2] No such file or directory
I get this error when running, any ideas?
/tmp/kraft-run-1758828628/unikraft/bin/kernel: can't open file '/usr/bin/python3': [Errno 2] No such file or directory
@StefanJum , we need to upstream Python.
Introduce an HTTP Flask server as binary compatibility run. Install Python + Flask using
Dockerfile
. Use theunikraft.org/python:3.12
registry image.Add typical files for a bincompat app:
Kraftfile
: build / run rules, including pulling theunikraft.org/python:3.12
imageDockerfile
: filesystem, including binary and librariesREADME.md
: instructions to set up, build and run the applicationrequirements.txt
: Python / Pip requirements fileserver.py
: simple Flask HTTP server implementation