This is an automated email from the ASF dual-hosted git repository.

zhaocong pushed a commit to branch change_base_image
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git

commit 24e180d12debab901d90c1ec8c840c01bf2e834e
Author: coderzc <[email protected]>
AuthorDate: Mon Dec 5 13:12:33 2022 +0800

    change base image to `openjdk:11-slim`
---
 README.md                        | 2 +-
 computer-dist/Dockerfile         | 2 +-
 computer-k8s-operator/Dockerfile | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index a01f2e67..d71b57b3 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ The hugegraph-computer is a distributed graph processing 
system for hugegraph. I
 - Based on BSP(Bulk Synchronous Parallel) model, an algorithm performs 
computing through multiple parallel iterations, every iteration is a superstep.
 - Auto memory management. The framework will never be OOM(Out of Memory) since 
it will split some data to disk if it doesn't have enough memory to hold all 
the data.
 - The part of edges or the messages of super node can be in memory, so you 
will never lose it.
-- You can output the results to HDFS or HugeGraph, or any other system.
+- You can load the data or output the results to HDFS or HugeGraph, or any 
other system.
 - Easy to develop a new algorithm. You just need to focus on a vertex only 
processing just like as in a single server, without worrying about message 
transfer and memory/storage management.
 
 ## Learn More
diff --git a/computer-dist/Dockerfile b/computer-dist/Dockerfile
index 7d4cabd2..4b07bde8 100644
--- a/computer-dist/Dockerfile
+++ b/computer-dist/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM openjdk:11-jre
+FROM openjdk:11-slim
 LABEL maintainer="HugeGraph Docker Maintainers <[email protected]>"
 # use ParallelGC which is more friendly to olap system
 ENV JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseParallelGC 
-XX:+UseContainerSupport -XX:MaxRAMPercentage=50 -XshowSettings:vm"
diff --git a/computer-k8s-operator/Dockerfile b/computer-k8s-operator/Dockerfile
index 93b0fad6..c41d7593 100644
--- a/computer-k8s-operator/Dockerfile
+++ b/computer-k8s-operator/Dockerfile
@@ -14,8 +14,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-FROM openjdk:11-jre
+FROM openjdk:11-slim
 LABEL maintainer="HugeGraph Docker Maintainers <[email protected]>"
-WORKDIR /opt/app
+WORKDIR /hugegraph/operator
 COPY target/hugegraph-computer-operator-*.jar hugegraph-computer-operator.jar
 ENTRYPOINT ["java", "-jar", "hugegraph-computer-operator.jar"]

Reply via email to