Commit efd77730 authored by daidekun's avatar daidekun

移除工具类安装部分到底层操作系统镜像

parent 3ab43924
FROM centos
FROM 192.168.4.36/baseimg/centos
MAINTAINER zhangbin "bin.zhang@quantgroup.cn"
MAINTAINER daidekun "dekun.dai@quantgroup.cn"
WORKDIR /usr/local
ADD jdk-8u144-linux-x64.tar.gz .
......@@ -10,30 +10,3 @@ ENV bd $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH $PATH:$JAVA_HOME/bin
# 为了减小生成的镜像的体积,删除包和jdk源码
RUN rm -rf jdk-8u144-linux-x64.tar.gz ./jdk1.8.0_144/src.zip
\ No newline at end of file
# 安装必要打包库
RUN yum install -y make gcc*
RUN yum install -y git
# 安装node
RUN curl -sL https://rpm.nodesource.com/setup_8.x | bash -
RUN yum install -y nodejs
RUN yum install -y git
# 切换npm淘宝源
RUN npm config set registry https://registry.npm.taobao.org
# 安装日志组件
RUN npm i frontail -g --registry=https://registry.npm.taobao.org
# 安装gulp
RUN npm install gulp
# 安装控制台组件
WORKDIR /home
RUN git clone https://git.coding.net/tywldx/demoXterm.git
WORKDIR /home/demoXterm
RUN npm install
RUN npm run build
RUN alias "la=ls -al"
\ 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