Commit defa9a6c authored by kalvin's avatar kalvin

centos update 20180426

parent 11371cdb
......@@ -4,7 +4,9 @@ FROM centos
RUN yum install -y make gcc* \
&& yum install -y git \
&& yum install -y vim \
&& yum install -y wget
&& yum install -y wget \
&& yum install -y pidof \
&& yum install -y telnet
# 安装node
RUN curl -sL https://rpm.nodesource.com/setup_8.x | bash -
......@@ -39,6 +41,9 @@ ENV LC_ALL en_US.UTF-8
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# 宋体
RUN curl http://192.168.3.60/QA/qg-docker-entrypoints/raw/master/fonts/install.sh | sh
# alias
RUN echo "export PS1='\[\033[m\][\[\033[36m\]\u\[\033[m\]:\[\033[33;1m\]\w\[\033[m\]\[\033[m\]]\[\033[m\]# '" >> ~/.bash_profile
RUN echo "export LANG='en_US.UTF-8';alias 'la=ls -al';alias rm='rm -i';alias mv='mv -i';alias grep='grep --color';alias vi='vim';alias pg='ps -ef | grep -i'" >> ~/.bashrc
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment