Skip to content

The Unified and Autonomous Development Platform

Build server from ubuntu 18.04 in order to satisfy git min version requirement

Robin Shen8a21cf19fdf3
diff --git a/server-product/docker/Dockerfile b/server-product/docker/Dockerfile
index d37776b1a2..27808e28f3 100644
--- a/server-product/docker/Dockerfile
+++ b/server-product/docker/Dockerfile
@@ -1,6 +1,7 @@
-FROM openjdk:8-jdk
+FROM ubuntu:18.04
COPY build /app
COPY entrypoint.sh idle.sh /root/bin/
COPY kubectl /usr/local/bin/
+RUN apt-get update && apt-get install -y curl git openjdk-8-jre-headless
EXPOSE 6610
CMD ["/root/bin/entrypoint.sh"]