From 59c5eb63654d52ca396d5d410ac09935096d2d56 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo Date: Fri, 29 Mar 2024 11:33:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E5=A2=9E=E5=8A=A0Dockerfile?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 增加Dockerfile文件 --- .../logpm-factory-data-base/Dockerfile | 14 ++++++++++++++ .../logpm-factory-data-zbom/Dockerfile | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 blade-service/logpm-factory-data/logpm-factory-data-base/Dockerfile create mode 100644 blade-service/logpm-factory-data/logpm-factory-data-zbom/Dockerfile diff --git a/blade-service/logpm-factory-data/logpm-factory-data-base/Dockerfile b/blade-service/logpm-factory-data/logpm-factory-data-base/Dockerfile new file mode 100644 index 000000000..e1a165665 --- /dev/null +++ b/blade-service/logpm-factory-data/logpm-factory-data-base/Dockerfile @@ -0,0 +1,14 @@ +FROM bladex/alpine-java:openjdk8-openj9_cn_slim + +MAINTAINER h5u@163.com + +RUN mkdir -p /logpm/factory-data-base + +WORKDIR /logpm/factory-data-base + +EXPOSE 18900 + +ADD ./target/logpm-factory-data-base.jar ./app.jar + +ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m", "app.jar"] +CMD ["--spring.profiles.active=test"] diff --git a/blade-service/logpm-factory-data/logpm-factory-data-zbom/Dockerfile b/blade-service/logpm-factory-data/logpm-factory-data-zbom/Dockerfile new file mode 100644 index 000000000..688cc8323 --- /dev/null +++ b/blade-service/logpm-factory-data/logpm-factory-data-zbom/Dockerfile @@ -0,0 +1,14 @@ +FROM bladex/alpine-java:openjdk8-openj9_cn_slim + +MAINTAINER h5u@163.com + +RUN mkdir -p /logpm/factory-data-zbom + +WORKDIR /logpm/factory-data-zbom + +EXPOSE 18910 + +ADD ./target/logpm-factory-data-zbom.jar ./app.jar + +ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","-Xms128m","-Xmx512m", "app.jar"] +CMD ["--spring.profiles.active=test"]