Commit 557bac5c authored by kalvin's avatar kalvin

centos安装ruby环境

parent 27810f94
......@@ -45,6 +45,15 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# 宋体
RUN curl http://git.q-gp.com/QA/qg-docker-entrypoints/raw/master/fonts/install.sh | sh
# ruby环境
RUN yum groupinstall -y development
RUN curl -L get.rvm.io | bash -s stable
RUN source /etc/profile.d/rvm.sh
RUN rvm reload;rvm install 2.3.3
RUN gem install bundler
RUN git clone git@git.quantgroup.cn:QA/qg-recorder.git;cd qg-recorder
RUN bundle install
# 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