A bash script to view the current directory in a Debian based Docker container.
Go to file
2018-05-24 21:57:26 +02:00
root Include my .vimrc 2018-05-24 20:21:07 +02:00
.dockerignore Include my .vimrc 2018-05-24 20:21:07 +02:00
debian-here.sh Make zsh start by default and allow overriding from script 2018-05-24 21:51:51 +02:00
Dockerfile Install build-essential and procps 2018-05-24 21:57:26 +02:00
README.md Add credits where credits are due 2018-05-24 21:20:15 +02:00

Usage

Run the BUILD=1 ./debian-here.sh command to build the Docker image.

To spin up a container from the image, simply run ./debian-here.sh and you will find yourself in the directory you've issued the command from mounted in the container.

Note that you can run the debian-here.sh script from anywhere. You could even symlink it to /usr/local/bin for easier access!

Credits

Based on an idea from Blaise.