GitHub - sudo-bot/docker-rustpython: A docker image for rustpython
Repository navigation
docker-rustpythonPublic
About
A docker image for rustpython
hub.docker.com/r/botsudo/docker-rustpythonTopics
docker-image multi-arch-images multi-architecture-image rustpythonResources
Readme MPL-2.0 license Activity Custom propertiesStars
0 starsWatchers
1 watchingForks
0 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
61 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .github/ workflows | .github/ workflows | ||
| docker | docker | ||
| .editorconfig | .editorconfig | ||
| LICENSE | LICENSE | ||
| Makefile | Makefile | ||
| README.md | README.md | ||
Repository files navigation
A docker rustpython image
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 .
Pull it
docker pull botsudo/docker-rustpython:latest
Example usage
# 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/386linux/amd64linux/arm/v6linux/arm/v7linux/arm64/v8linux/ppc64lelinux/riscv64linux/s390x
linux/s390x was previously unbuildable because of a nix crate bug on
musl + s390x. That was fixed in December 2023
(nix-rust/nix#1968 ,
nix-rust/nix#1835 ) and the RustPython version we build
depends on nix 0.32.0, so it is supported again.
About
A docker image for rustpython
hub.docker.com/r/botsudo/docker-rustpython