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
efd77730
Commit
efd77730
authored
Dec 12, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除工具类安装部分到底层操作系统镜像
parent
3ab43924
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
30 deletions
+3
-30
Dockerfile
baseimg/jdk8/Dockerfile
+3
-30
No files found.
baseimg/jdk8/Dockerfile
View file @
efd77730
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
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