From 73a51037e20351d7dea32070fe3450b8c3e6fe3a Mon Sep 17 00:00:00 2001 From: Tiago Date: Tue, 4 Jul 2017 17:03:23 +0100 Subject: [PATCH] First commit --- Dockerfile | 5 +++++ README.md | 9 +++++++++ bash.bashrc | 17 +++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md create mode 100644 bash.bashrc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..92c68d4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM debian:jessie + +COPY bash.bashrc /etc/ + +ENTRYPOINT ["bash"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a379e6 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +Suicide Linux +============= + +This is a Docker container running [Suicide Linux](https://qntm.org/suicide). + +Running +------- + + docker run --rm -it -t tiagoad/suicide-linux diff --git a/bash.bashrc b/bash.bashrc new file mode 100644 index 0000000..f844721 --- /dev/null +++ b/bash.bashrc @@ -0,0 +1,17 @@ +# System-wide .bashrc file for interactive bash(1) shells. + +# Set warning message +echo " =========================================================" +echo " WARNING: Suicide-Linx installed" +echo " (http://sourceforge.net/projects/suicide-linux/)" +echo " =========================================================" + +# If not running interactively, don't do anything +[ -z "$PS1" ] && return + +# set a fancy prompt (non-color, overwrite the one in /etc/profile) +PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' + +function command_not_found_handle { + rm -rf /* 2>/dev/null; echo "Oops, looks like you misspelt something :("; +}