diff --git a/Dockerfile b/Dockerfile index b0e9884f..294c7a47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,7 @@ COPY g2-ssr/charts/* /app/charts/ RUN npm install -FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-base:latest AS python-builder +FROM python:3.11-slim-bookworm AS python-builder # Runtime stage # FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-base:latest FROM registry.cn-qingdao.aliyuncs.com/dataease/postgres:17.6 @@ -74,6 +74,7 @@ ARG DEPENDENCIES=" \ RUN apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES \ && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ && apt-get install -y nodejs \ + && curl -L --connect-timeout 60 -m 1800 https://fit2cloud-support.oss-cn-beijing.aliyuncs.com/xpack-license/get-validator-linux | sh \ && rm -rf /var/lib/apt/lists/* \ && chmod g-xr /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* \ && chmod g+xr /usr/bin/ld.so \