https://github.com/sudo-bot/docker-rustpython
A docker image for rustpython
https://github.com/sudo-bot/docker-rustpython
docker-image multi-arch-images multi-architecture-image rustpython
Last synced: about 1 month ago
JSON representation
A docker image for rustpython
- Host: GitHub
- URL: https://github.com/sudo-bot/docker-rustpython
- Owner: sudo-bot
- License: mpl-2.0
- Created: 2023-02-21T22:50:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T08:38:31.000Z (9 months ago)
- Last Synced: 2025-01-28T21:41:09.903Z (3 months ago)
- Topics: docker-image, multi-arch-images, multi-architecture-image, rustpython
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/botsudo/docker-rustpython
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A docker rustpython image
This is a Docker image for the [RustPython](https://github.com/RustPython/RustPython#readme) project.
It had the default feature flags + `freeze-stdlib`.You can find it on [Docker Hub](https://hub.docker.com/r/botsudo/docker-rustpython) and the sources on [GitHub](https://github.com/sudo-bot/docker-rustpython).
## Pull it
```sh
docker pull botsudo/docker-rustpython:latest
```## Example usage
```sh
# 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 --help
```## Is my architecture supported ?
We support as much as possible, the list is:
- `linux/386`
- `linux/amd64`
- `linux/arm/v6`
- `linux/arm/v7`
- `linux/arm64/v8`
- `linux/ppc64le`For `linux/s390x`, it needs fixing:
- See: https://github.com/nix-rust/nix/issues/1968
- See: https://github.com/nix-rust/nix/pull/1835