https://github.com/xonsh/container
xonsh on docker
https://github.com/xonsh/container
docker hacktoberfest xonsh
Last synced: about 1 month ago
JSON representation
xonsh on docker
- Host: GitHub
- URL: https://github.com/xonsh/container
- Owner: xonsh
- License: mit
- Created: 2019-08-21T18:11:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-10T14:42:14.000Z (over 3 years ago)
- Last Synced: 2024-10-24T15:38:42.042Z (6 months ago)
- Topics: docker, hacktoberfest, xonsh
- Language: Python
- Homepage: https://hub.docker.com/u/xonsh
- Size: 24.4 KB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xonsh
[GitHub](https://github.com/xonsh/container) | [Docker Hub](https://hub.docker.com/r/xonsh/xonsh)
Xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.5+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices alike.
## Additions
* `/usr/bin/xpip`: `xpip` usable from Dockerfiles/etc to enable installing
Python packages into the xonsh environment. Doesn't require cleanup.
* `/usr/bin/xonsh`: xonsh itself.## Tags
* ``/`latest`: Based on `python:3` (Debian Buster)
* `-slim`/`slim`: Based on `python:3-slim` (Debian Buster, slim variant)
* `-alpine`/`alpine`: Based on `python:3-alpine` (Alpine Linux)# xonsh for github actions
[GitHub](https://github.com/xonsh/container) | [Docker Hub](https://hub.docker.com/r/xonsh/action)
Xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.5+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices alike.
This container includes code to help with GitHub Actions. It automatically
parses the input and configures GitHub API client libraries.
[PyGithub](https://pygithub.readthedocs.io/) and [gqlmod](https://gqlmod.readthedocs.io/) are supported (but not installed by default).To use this, include `source /etc/xonshrc` as soon as possible in your script.
## Additions
* `$GITHUB_EVENT`: The parsed event payload
* `$INPUT`: A dictionary of input values (the `with` block in the workflow config)
* If PyGithub is installed, `$GITHUB` is the client objectThe GitHub Token is looked for as `GITHUB_TOKEN` in the environment and inputs.
In addition, this container inherits from the main xonsh container and includes
these:
* `/usr/bin/xpip`: `xpip` usable from Dockerfiles/etc to enable installing
Python packages into the xonsh environment. Doesn't require cleanup.
* `/usr/bin/xonsh`: xonsh itself.## Tags
* ``/`latest`: Based on `xonsh`/`python:3` (Debian Buster)
* `-slim`/`slim`: Based on `xonsh:slim`/`python:3-slim` (Debian Buster, slim variant)
* `-alpine`/`alpine`: Based on `xonsh:alpine`/`python:3-alpine` (Alpine Linux)# xonsh for interactive use
[GitHub](https://github.com/xonsh/container) | [Docker Hub](https://hub.docker.com/r/xonsh/interactive)Xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.5+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices alike.
This container includes additional dependencies and some configuration tweaks
specifically for interactive use.## Additions
* Prompt Toolkit and Pygments are installed
* Saving history is disabledIn addition, this container inherits from the main xonsh container and includes
these:
* `/usr/bin/xpip`: `xpip` usable from Dockerfiles/etc to enable installing
Python packages into the xonsh environment. Doesn't require cleanup.
* `/usr/bin/xonsh`: xonsh itself.## Tags
* ``/`latest`: Based on `xonsh`/`python:3` (Debian Buster)
* `-slim`/`slim`: Based on `xonsh:slim`/`python:3-slim` (Debian Buster, slim variant)
* `-alpine`/`alpine`: Based on `xonsh:alpine`/`python:3-alpine` (Alpine Linux)