Skip to content

Commit d120cfd

Browse files
committed
build: oracle instant client
1 parent 3a31b16 commit d120cfd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Dockerfile-base

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2727
&& curl -L --connect-timeout 60 -m 1800 https://fit2cloud-support.oss-cn-beijing.aliyuncs.com/xpack-license/get-validator-linux | sh \
2828
&& rm -rf /var/lib/apt/lists/* \
2929
&& chmod g+xr /usr/bin/ld.so \
30-
&& chmod g+x /usr/local/bin/python*
30+
&& chmod g+x /usr/local/bin/python*
31+
32+
ENV DB_CLIENT=/opt/sqlbot/db_client
33+
34+
RUN apt-get update && \
35+
apt-get install -y curl unzip && \
36+
mkdir -p ${DB_CLIENT} && \
37+
curl -L -o app.zip https://download.oracle.com/otn_software/linux/instantclient/2326000/instantclient-basic-linux.x64-23.26.0.0.0.zip && \
38+
unzip app.zip -d ${DB_CLIENT} && \
39+
rm app.zip && \
40+
mv ${DB_CLIENT}/instantclient* ${DB_CLIENT}/oracle_instant_client

0 commit comments

Comments
 (0)