Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
build-script
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
tools
build-script
Commits
57afdcad
Commit
57afdcad
authored
Aug 29, 2025
by
yangzhangfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
3204f64f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
57afdcad
FROM
registry-vpc.cn-hangzhou.aliyuncs.com/schbrain-base/jdk:11 as builder
WORKDIR
app
COPY
${JAR_FILE} app.jar
RUN
java
-Djarmode
=
layertools
-
XX
:+HeapDumpOnOutOfMemoryError
-XX
:HeapDumpPath
=
dump.hprof
-
jar
app.jar extract
RUN
java
-Djarmode
=
layertools
-jar
app.jar extract
FROM
registry-vpc.cn-hangzhou.aliyuncs.com/schbrain-base/jdk:11
WORKDIR
app
...
...
@@ -32,7 +32,7 @@ ENV PROFILE=${PROFILE} \
ENV
JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \
-XX:InitialRAMPercentage=60 -XX:MaxRAMPercentage=60 \
-XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags \
-XX:CompressedClassSpaceSize=64M -XX:MaxMetaspaceSize=
300
m \
-XX:CompressedClassSpaceSize=64M -XX:MaxMetaspaceSize=
512
m \
-XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:InitiatingHeapOccupancyPercent=30 \
-Xlog:gc*=debug:/data/logs/gc/gc-%t.log:time:filecount=20,filesize=20m \
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/heapdump/heapdump.hprof -XX:OnOutOfMemoryError=/app/dump-file-rollover.sh"
...
...
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