Commit 7fd9cbfb authored by 张永's avatar 张永

V1.1.7

parent 8781d187
......@@ -8,16 +8,11 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
ENV LANG C.UTF-8
ARG JAVA_ARG
ENV JAVA_OPTS=$JAVA_ARG
ARG JAR_FILE
ADD target/${JAR_FILE} /data/app.jar
ENV jar /data/app.jar
ENV workdir /data/
RUN mkdir -p ${workdir}
COPY ${jar} ${workdir}
WORKDIR ${workdir}
#ENTRYPOINT ["java", "-jar","/data/app.jar"]
#定义jvm参数变量
ENV JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:PermSize=256M -XX:MaxPermSize=512M"
ENTRYPOINT ["sh", "-ec", "exec java ${JAVA_OPTS} -jar ${jar} "]
\ No newline at end of file
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /data/app.jar
......@@ -207,7 +207,7 @@
</executions>
<configuration>
<repository>dockerhub.linkfern.com/b2c/shopapi</repository>
<tag>V1.1.8</tag>
<tag>V1.1.7</tag>
<buildArgs>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
......
......@@ -24,8 +24,6 @@
</head>
<body>
<div id="app">
<el-divider content-position="left">V1.1.8 2024-1-16</el-divider>
<p class="title">1.重写dockerfile,支持张亮的监控jar包</p>
<el-divider content-position="left">V1.1.7 2024-1-11</el-divider>
<p class="title">1.订单详情返回payData改为过滤补款记录</p>
<el-divider content-position="left">V1.1.6 2024-1-4</el-divider>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment