1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-13 09:12:43 +08:00
This commit is contained in:
Marcos Lilljedahl 2017-05-04 19:48:56 -03:00
parent fe5c17d9b1
commit 0ff568a081
3 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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

8
motd Normal file
View File

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