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
451a867e
Commit
451a867e
authored
Apr 16, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qg-dockerfiles
parents
361d4f9d
15066e4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
24 deletions
+1
-24
Dockerfile
baseimg/tools/redis/Dockerfile
+0
-0
Dockerfile
baseimg/tools/zookeeper/Dockerfile
+1
-24
No files found.
baseimg/tools/redis/Dockfile
→
baseimg/tools/redis/Dock
er
file
View file @
451a867e
File moved
baseimg/tools/zookeeper/Dockerfile
View file @
451a867e
FROM
192.168.4.4/baseimg/jdk8
MAINTAINER
zhangbin "bin.zhang@quantgroup.cn"
FROM
192.168.4.4/baseimg/jdk8:201803291115
USER
root
# 替换源
WORKDIR
/etc/apt/
RUN
mv
sources.list /tmp
RUN
echo
deb http://mirrors.163.com/debian/ stretch main non-free contrib
>>
sources.list
\
&&
echo
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
>>
sources.list
\
&&
echo
deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib
>>
sources.list
\
&&
echo
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
>>
sources.list
#安装必要工具
RUN
apt-get update
\
&&
apt-get
install
-y
vim
\
&&
apt-get
install
-y
telnet
\
&&
apt-get
install
-y
openssh-server
\
&&
apt-get
install
-y
curl
\
&&
/etc/init.d/ssh start
ENV
ZOO_USER=zookeeper \
ZOO_CONF_DIR=/conf \
...
...
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