Commit 228a70c8 authored by daidekun's avatar daidekun

centos

parent 0f5ce008
FROM centos
# 安装必要打包库
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