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. # +###############################################################