Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-WIC-Cnf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CommunityXG
OpenXG-WIC-Cnf
Commits
a0ca07ec
Commit
a0ca07ec
authored
Jan 10, 2021
by
谢建斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
raft单机多节点
parent
41453776
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
apps/cnf-space-iot/space-iot-raft/Dockerfile
apps/cnf-space-iot/space-iot-raft/Dockerfile
+19
-0
No files found.
apps/cnf-space-iot/space-iot-raft/Dockerfile
0 → 100644
View file @
a0ca07ec
FROM
centos
MAINTAINER
Joliu<ljo0412@live.com>
RUN
yum
install
-y
http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
&&
\
yum
install
-y
iperf iptables tc
RUN
yum
install
-y
net-tools.x86_64
RUN
echo
"net.ipv4.ip_forward=1"
>>
/etc/sysctl.conf
RUN
mkdir
-p
/tmp/static
COPY
jdk1.8.0_111 jdk1.8.0_111
ENV
JAVA_HOME=/jdk1.8.0_111
ENV
PATH=$JAVA_HOME/bin:$PATH
ENV
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ADD
space-iot-raft-1.0-SNAPSHOT.jar sate_raft.jar
ADD
getIpTest.jar selfIp.jar
ENTRYPOINT
["java","-jar","sate_raft.jar"]
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