From 0ff568a08180c634cba1a19f2c9fa1d5f9ac47df Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Thu, 4 May 2017 19:48:56 -0300 Subject: [PATCH] Add MOTD --- .profile | 1 + Dockerfile.dind | 1 + motd | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 motd diff --git a/.profile b/.profile index d378c31..4fd34a7 100644 --- a/.profile +++ b/.profile @@ -1,2 +1,3 @@ export PS1='\e[1m\e[31m[\h] \e[32m($(docker-prompt)) \e[34m\u@$(hostname -i)\e[35m \w\e[0m\n$ ' alias vi='vim' +cat /etc/motd diff --git a/Dockerfile.dind b/Dockerfile.dind index 3ed7bc2..1ba5d5d 100644 --- a/Dockerfile.dind +++ b/Dockerfile.dind @@ -27,6 +27,7 @@ RUN rm /sbin/modprobe && echo '#!/bin/true' >/sbin/modprobe && chmod +x /sbin/mo # Install a nice vimrc file and prompt (by soulshake) COPY ["docker-prompt","/usr/local/bin/"] COPY [".vimrc",".profile", ".inputrc", ".gitconfig", "./root/"] +COPY ["motd", "/etc/motd"] COPY ["daemon.json", "/etc/docker/"] ARG docker_storage_driver=overlay2 diff --git a/motd b/motd new file mode 100644 index 0000000..75ce854 --- /dev/null +++ b/motd @@ -0,0 +1,8 @@ +############################################################### +# WARNING!!!! # +# This is sandbox environemnt, using personal credentials is # +# HIGHLY! discouraged. Any consequences of doing so, are # +# completely under the user responsibilites. # +# # +# The PWD team. # +###############################################################