Commit 3df6a7e7 authored by daidekun's avatar daidekun

fixbugs

parent 1a018f03
......@@ -40,10 +40,10 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Mock服务器时间
RUN git clone https://github.com/wolfcw/libfaketime.git
WORKDIR /libfaketime
# RUN make install
# ENV LD_PRELOAD=/usr/local/lib/faketime/libfaketime.so.1
#
# WORKDIR /home
# # alias
# 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
WORKDIR /home/libfaketime
RUN make install
ENV LD_PRELOAD=/usr/local/lib/faketime/libfaketime.so.1
WORKDIR /home
# alias
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