Manages access to a persistent, containerized development environment.
user@host:~$ dev
dev@dev:~$ echo 'Hello from inside the container!'
It is recommended that you use the container managed by this script with Visual Studio Code's Remote - Containers extension, or your IDE's equivalent option.
- Uses Docker to manage containers.
- Built on the kherge/dev image.
- Uses an init process to clean up processes.
- Volume is used on the home directory so that its data can persist across container recreations, allowing for iterative changes to a container's Dockerfile. (Just remember to install everything locally!)
- Docker
- POSIX-compliant Shell
git clone https://github.com/kherge/sh.dev.git ~/.local/opt/sh.dev
ln -s ~/.local/opt/sh.dev/dev.sh ~/.local/bin/dev
If this is your first time using
$HOME/.local
, you might need to create the directories.mkdir -p ~/.local/bin mkdir -p ~/.local/optYou may also need to add
$HOME/.local/bin
to$PATH
.