Xonsh publishes a handful of containers, primarily targeting CI and automation use cases. All of them are published on Docker Hub.
xonsh/xonsh: A base container providing basic xonsh
xonsh/interactive: xonsh with additions for people
xonsh/action: xonsh with additions for GitHub Actions
All containers use the same tagging scheme:
latest: Based on
slim: Based on
python:3-slim(Debian Buster, slim variant)
alpine: Based on
You can select specific versions of xonsh. However, you cannot select specific versions of Python. Everything is rebuilt daily.
All containers include an
xpip utility to let you easily install packages from a Dockerfile.
The container source can be found in the container project.
A basic container, including Python itself, xonsh, and the linux extras. This container is deliberately kept minimal.
A container made for humans (such as getting a shell inside of a pod). It includes prompt toolkit and pygments so that xonsh is more usable interactively.
A container with extras for GitHub Actions.
First, some of the inputs are parsed into more helpful forms:
$GITHUB_EVENT: The event that triggered the action (parsed from
$INPUT: The input arguments configured in the workflow (from
Githubobject can be found at
gqlmod: the token will be applied globally and the library will be ready to use