/terminal

Docker image for a web based terminal with tools

Primary LanguageDockerfile

terminal

Publish Docker image

This is a Dockerfile that bootstraps an Debian image via apt with

  • unzip
  • autoconf
  • make
  • rlwrap
  • build-essential
  • curl
  • tree
  • fasd
  • fontconfig
  • git
  • sudo
  • tmux
  • vim
  • emacs
  • wget
  • procps
  • htop
  • dirmngr
  • gpg
  • gawk
  • autoconf
  • gettext
  • libssl-dev
  • zlib1g-dev
  • zsh

Creates a USER from ARG USERNAME defaulting to gdfoster (me)

COPYies all scripts ending in .sh to the image

Runs the scripts in the following order

btop.sh

cheat.sh

asdf.sh

  • installs asdf from https://asdf-vm.com/
  • adds all plugins listed in .tool-versions
  • installs all versions of plugins listed in .tool-versions

oh-my-zsh.sh

config_setup.sh

emacs.sh

  • installs doomemacs from it's bin cloned in submodule with config_setup.sh

tmux.sh

  • installs ohmytmux and applies config repo dot files

ttyd.sh

The default CMD is to run gotty at ARG TTYPORT defaulting to 8080