build: allinone

This commit is contained in:
junjun
2025-09-03 12:20:58 +08:00
parent fbbf95e2fc
commit 5f14d8dccd
+2 -1
View File
@@ -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 \