mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 17:57:06 +08:00
build: allinone
This commit is contained in:
+2
-1
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user