build: oracle instant client

This commit is contained in:
junjun
2025-10-29 11:29:01 +08:00
committed by Junjun
parent c8050807d7
commit 5f49187ffe
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -80,6 +80,7 @@ ENV POSTGRES_DB=sqlbot
ENV POSTGRES_USER=root
ENV POSTGRES_PASSWORD=Password123@pg
# Add Oracle instant client path to ENV
ENV LD_LIBRARY_PATH="/opt/sqlbot/db_client/oracle_instant_client:${LD_LIBRARY_PATH}"
# Copy necessary files from builder
+1
View File
@@ -29,6 +29,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& chmod g+xr /usr/bin/ld.so \
&& chmod g+x /usr/local/bin/python*
# Download Oracle instant client
ENV DB_CLIENT=/opt/sqlbot/db_client
ARG TARGETARCH
RUN apt-get update && \