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
88e70804
Commit
88e70804
authored
Sep 21, 2017
by
张 斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(util):添加Eureka的镜像
parent
ee4facc9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
Dockerfile
baseimg/eureka/Dockerfile
+21
-0
docker-entrypoint.sh
baseimg/eureka/docker-entrypoint.sh
+7
-0
silk-road-eureka-LATEST.jar
baseimg/eureka/silk-road-eureka-LATEST.jar
+0
-0
No files found.
baseimg/eureka/Dockerfile
0 → 100644
View file @
88e70804
FROM
192.168.4.36/baseimg/jdk8
MAINTAINER
zhangbin "bin.zhang@quantgroup.cn"
USER
root
ARG
SYSTEM_NAME=silk-road-eureka
WORKDIR
/home/quant_group
RUN
mkdir
${
SYSTEM_NAME
}
/
RUN
mkdir
logs/
ARG
BUILD_NUMBER
RUN
echo
"
${
BUILD_NUMBER
}
"
>>
./version.txt
VOLUME
/home/quant_group/logs/
EXPOSE
7080
COPY
./*.jar /home/quant_group/${SYSTEM_NAME}/${SYSTEM_NAME}/.jar
RUN
chmod
+x ./docker-entrypoint.sh
CMD
["./docker-entrypoint.sh"]
\ No newline at end of file
baseimg/eureka/docker-entrypoint.sh
0 → 100644
View file @
88e70804
#!/bin/sh
echo
"java_start java"
module_name
=
"silk-road-eureka"
package_path
=
"./
${
module_name
}
/
${
module_name
}
.jar"
echo
"java -Xmx512m -XX:PermSize64m -Xloggc:/tmp/
${
module_name
}
_gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -jar
${
package_path
}
--worker 1 --currentWorker 1 -t > /dev/null 2>&1"
java
-Xmx512m
-XX
:PermSize64m
-Xloggc
:/tmp/
${
module_name
}
_gc.log
-XX
:+PrintGCDetails
-XX
:+PrintGCTimeStamps
-jar
${
package_path
}
--worker
1
--currentWorker
1
-t
>
/dev/null 2>&1
\ No newline at end of file
baseimg/eureka/silk-road-eureka-LATEST.jar
0 → 100644
View file @
88e70804
File added
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