From 5f49187ffe2630e750154e1f3ef03e3801b97b34 Mon Sep 17 00:00:00 2001 From: junjun Date: Wed, 29 Oct 2025 11:27:04 +0800 Subject: [PATCH] build: oracle instant client --- Dockerfile | 1 + Dockerfile-base | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index f8b69477..3c8e926e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile-base b/Dockerfile-base index b5cd2da8..21c19390 100644 --- a/Dockerfile-base +++ b/Dockerfile-base @@ -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 && \