https://github.com/guangie88/ttyd-addons
Dockerfile set-up to enhance ttyd with useful installed applications
https://github.com/guangie88/ttyd-addons
cli dockerfile ttyd
Last synced: 8 months ago
JSON representation
Dockerfile set-up to enhance ttyd with useful installed applications
- Host: GitHub
- URL: https://github.com/guangie88/ttyd-addons
- Owner: guangie88
- License: mit
- Created: 2019-10-11T13:44:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-11T16:11:07.000Z (over 6 years ago)
- Last Synced: 2025-05-26T20:45:34.436Z (about 1 year ago)
- Topics: cli, dockerfile, ttyd
- Language: Shell
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `ttyd-addons`
[](https://travis-ci.org/guangie88/ttyd-addons)
Dockerfile set-up to enhance `ttyd` with useful installed applications. This is
mostly useful only in environments where the filesystem on Docker container is
readonly, or if user cannot be `root`.
Currently the following CLI commands are preinstalled:
- `curl`
- `wget`
- `python3`
- `ruby` (`irb`)
- `vim`
## Changelog
See [here](CHANGELOG.md).
## How to build
### Ubuntu
```bash
docker build -t ubuntu \
--build-arg "DOCKER_TAG=1.5.2" \
ubuntu/
```
### Alpine
```bash
docker build -t alpine \
--build-arg "DOCKER_TAG=1.5.2-alpine" \
alpine/
```
## How to generate `.travis.yml` from template
For Linux user, you can download Tera CLI v0.2 at
and place it in `PATH`.
Otherwise, you will need `cargo`, which can be installed via
[rustup](https://rustup.rs/).
Once `cargo` is installed, simply run `cargo install tera-cli --version=^0.2.0`.
## Acknowledgement
Thanks to the original author of [`ttyd`](https://github.com/tsl0922/ttyd) for
making such a great application!