This is a Docker image for the RustPython project.
It had the default feature flags + freeze-stdlib.
You can find it on Docker Hub and the sources on GitHub.
docker pull botsudo/docker-rustpython:latest# A test script
echo -e "import json\nprint(json.dumps([{'server': [{'tls': False}]}]))" > test.py
# Will print: [{"server": [{"tls": false}]}]
docker run -v $PWD/test.py:/app/test.py:ro --rm botsudo/docker-rustpython:latest /app/test.py
# See help
docker run --rm botsudo/docker-rustpython:latest --helpWe support as much as possible, the list is:
linux/386linux/amd64linux/arm/v6linux/arm/v7linux/arm64/v8linux/ppc64le
For linux/s390x, it needs fixing:
- See: nix-rust/nix#1968
- See: nix-rust/nix#1835