mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
build: oracle instant client
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user