Skip to content

kherge/sh.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

sh.dev

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.

Features

  • 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!)

Requirements

  • Docker
  • POSIX-compliant Shell

Installation

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/opt

You may also need to add $HOME/.local/bin to $PATH.

About

Creates and manages a containerized development environment.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages