Skip to content

Commit 5e87f68

Browse files
committed
Document better the image
[ci skip]
1 parent 4a7fb14 commit 5e87f68

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# A docker rustpython image
22

3+
This is a Docker image for the RustPython project.
4+
It had the default feature flags + `freeze-stdlib`.
5+
6+
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).
7+
8+
## Pull it
9+
10+
```sh
11+
docker pull botsudo/docker-rustpython:latest
12+
```
13+
14+
## Example usage
15+
16+
```sh
17+
# A test script
18+
echo -e "import json\nprint(json.dumps([{'server': [{'tls': False}]}]))" > test.py
19+
# Will print: [{"server": [{"tls": false}]}]
20+
docker run -v $PWD/test.py:/app/test.py:ro --rm botsudo/docker-rustpython:latest /app/test.py
21+
# See help
22+
docker run --rm botsudo/docker-rustpython:latest --help
23+
```
24+
325
## Is my architecture supported ?
426

527
We support as much as possible, the list is:

0 commit comments

Comments
 (0)