yueyingcgl commited on
Commit
dfb1eda
·
verified ·
1 Parent(s): 51f195f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -12
Dockerfile CHANGED
@@ -52,20 +52,20 @@ RUN apk add --no-cache \
52
  unzip \
53
  libaio
54
 
55
- # --- 新增内容开始 ---
56
- # 安装 Oracle Instant Client for Alpine Linux
57
- RUN curl -o /tmp/instantclient.zip https://download.oracle.com/otn_software/linux/instantclient/2112000/instantclient-basic-linux.x64-21.12.0.0.0dbru.zip \
58
- && mkdir -p /opt/oracle \
59
- && unzip /tmp/instantclient.zip -d /opt/oracle \
60
- && rm /tmp/instantclient.zip
61
 
62
- # 设置 Oracle 相关的环境变量
63
- ENV ORACLE_HOME=/opt/oracle/instantclient_21_12
64
- ENV LD_LIBRARY_PATH=$ORACLE_HOME
65
 
66
- # 使用 pip 安装 cx_Oracle
67
- RUN pip install cx_Oracle==8.3.0
68
- # --- 新增内容结束 ---
69
 
70
  # Set environment variables
71
  ENV PUPPETEER_SKIP_DOWNLOAD=true
 
52
  unzip \
53
  libaio
54
 
55
+ # # --- 新增内容开始 ---
56
+ # # 安装 Oracle Instant Client for Alpine Linux
57
+ # RUN curl -o /tmp/instantclient.zip https://download.oracle.com/otn_software/linux/instantclient/2112000/instantclient-basic-linux.x64-21.12.0.0.0dbru.zip \
58
+ # && mkdir -p /opt/oracle \
59
+ # && unzip /tmp/instantclient.zip -d /opt/oracle \
60
+ # && rm /tmp/instantclient.zip
61
 
62
+ # # 设置 Oracle 相关的环境变量
63
+ # ENV ORACLE_HOME=/opt/oracle/instantclient_21_12
64
+ # ENV LD_LIBRARY_PATH=$ORACLE_HOME
65
 
66
+ # # 使用 pip 安装 cx_Oracle
67
+ # RUN pip install cx_Oracle==8.3.0
68
+ # # --- 新增内容结束 ---
69
 
70
  # Set environment variables
71
  ENV PUPPETEER_SKIP_DOWNLOAD=true