Skip to content

Commit 5f14d8d

Browse files
committed
build: allinone
1 parent fbbf95e commit 5f14d8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ COPY g2-ssr/charts/* /app/charts/
4545

4646
RUN npm install
4747

48-
FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-base:latest AS python-builder
48+
FROM python:3.11-slim-bookworm AS python-builder
4949
# Runtime stage
5050
# FROM registry.cn-qingdao.aliyuncs.com/dataease/sqlbot-base:latest
5151
FROM registry.cn-qingdao.aliyuncs.com/dataease/postgres:17.6
@@ -74,6 +74,7 @@ ARG DEPENDENCIES=" \
7474
RUN apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES \
7575
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
7676
&& apt-get install -y nodejs \
77+
&& curl -L --connect-timeout 60 -m 1800 https://fit2cloud-support.oss-cn-beijing.aliyuncs.com/xpack-license/get-validator-linux | sh \
7778
&& rm -rf /var/lib/apt/lists/* \
7879
&& chmod g-xr /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* \
7980
&& chmod g+xr /usr/bin/ld.so \

0 commit comments

Comments
 (0)