docker: Add interactive sessions

Provide a nice interface when using the container interactively.
This commit is contained in:
Andre Richter 2017-09-02 22:17:17 +02:00
parent 6e3c76ea23
commit 114de48b20
No known key found for this signature in database
GPG key ID: 2116C1AB102F615E
4 changed files with 19 additions and 3 deletions

3
docker/.bash_aliases Normal file
View file

@ -0,0 +1,3 @@
# Hijack this file to set this PS1, visually indicating to the user that we are running the docker container
PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[1;35m\]<$IMAGE_NAME>\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "