mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-13 17:42:53 +08:00
Add MOTD
This commit is contained in:
parent
fe5c17d9b1
commit
0ff568a081
1
.profile
1
.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
|
||||
|
@ -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
8
motd
Normal 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. #
|
||||
###############################################################
|
Loading…
x
Reference in New Issue
Block a user