diff --git a/Dockerfile-base b/Dockerfile-base index 89d2b711..832cec37 100644 --- a/Dockerfile-base +++ b/Dockerfile-base @@ -27,4 +27,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && 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/bin/ld.so \ - && chmod g+x /usr/local/bin/python* \ No newline at end of file + && chmod g+x /usr/local/bin/python* + +ENV DB_CLIENT=/opt/sqlbot/db_client + +RUN apt-get update && \ + apt-get install -y curl unzip && \ + mkdir -p ${DB_CLIENT} && \ + curl -L -o app.zip https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip && \ + unzip app.zip -d ${DB_CLIENT} && \ + rm app.zip && \ + mv ${DB_CLIENT}/instantclient* ${DB_CLIENT}/oracle_instant_client \ No newline at end of file