Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
228a70c8
Commit
228a70c8
authored
Dec 12, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
centos
parent
0f5ce008
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
Dockerfile
baseimg/centos/Dockerfile
+28
-0
No files found.
baseimg/centos/Dockerfile
0 → 100644
View file @
228a70c8
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment