From 44f721d3ae83749d427dbd137fd473b9cbbb890b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 9 Dec 2021 21:25:13 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E9=95=9C=E5=83=8F=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84fef98363..70dec5f209 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,4 @@ -#FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre -FROM alpine - -RUN echo -e 'http://mirrors.aliyun.com/alpine/v3.15/main/\nhttp://mirrors.aliyun.com/alpine/v3.15/community/' > /etc/apk/repositories - -RUN apk add openjdk8 chromium chromium-chromedriver fontconfig --no-cache --allow-untrusted - -ADD simsun.ttc /usr/share/fonts/ - -RUN cd /usr/share/fonts/ \ - && mkfontscale \ - && mkfontdir \ - && fc-cache -fv +FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre ARG IMAGE_TAG @@ -34,7 +22,4 @@ ENV JAVA_OPTIONS=-Dfile.encoding=utf-8 HEALTHCHECK --interval=15s --timeout=5s --retries=20 --start-period=30s CMD curl -f 127.0.0.1:8081 -EXPOSE 8081 - -ENTRYPOINT java -jar /opt/apps/backend-$IMAGE_TAG.jar -#CMD ["/deployments/run-java.sh"] +CMD ["/deployments/run-java.sh"]