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

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


The following commit(s) were added to refs/heads/master by this push:
     new 73b804d2 Change basic image to `openjdk:11-slim` (#216)
73b804d2 is described below

commit 73b804d2a930c679842b15012637825f84c97140
Author: Cong Zhao <[email protected]>
AuthorDate: Sun Dec 11 16:33:52 2022 +0800

    Change basic image to `openjdk:11-slim` (#216)
---
 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..44bae701 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 from HDFS or HugeGraph, output the results to HDFS or 
HugeGraph, or adapt any other systems manually as needed.
 - 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