File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,16 @@ USER root
4949
5050RUN microdnf module disable python36 && \
5151 microdnf module enable python39 && \
52- microdnf install python39 python39-pip python39-setuptools python39-wheel vim && \
52+ microdnf install python39 python39-pip python39-setuptools python39-wheel vim vi && \
5353 microdnf clean all
5454
5555WORKDIR /samples/
5656
5757COPY setup.py setup.py
5858
59- RUN curl -LO https://github.com/oracle/python-oracledb/archive/refs/tags/v1.0.0 .zip && \
60- unzip v1.0.0. zip && mv python-oracledb-1.0.0 /samples/* . && \
61- /bin/rm -rf python-oracledb-1.0.0 samples v1.0.0 .zip && \
59+ RUN curl -LO https://github.com/oracle/python-oracledb/archive/refs/heads/main .zip && \
60+ unzip main. zip && mv python-oracledb-main /samples/* . && \
61+ /bin/rm -rf python-oracledb-main samples main .zip && \
6262 cat create_schema.py >> /samples/setup.py && chown -R oracle.oinstall /samples/
6363
6464USER oracle
Original file line number Diff line number Diff line change 3434# PYO_SAMPLES_ADMIN_USER: privileged administrative user for setting up samples
3535# PYO_SAMPLES_ADMIN_PASSWORD: password of PYO_SAMPLES_ADMIN_USER
3636# PYO_SAMPLES_CONNECT_STRING: database connection string
37- # PYO_SAMPLES_DRCP_CONNECT_STRING: database connecttion string for DRCP
37+ # PYO_SAMPLES_DRCP_CONNECT_STRING: database connection string for DRCP
3838# PYO_SAMPLES_MAIN_USER: user to be created. Used for most samples
3939# PYO_SAMPLES_MAIN_PASSWORD: password for PYO_SAMPLES_MAIN_USER
4040# PYO_SAMPLES_EDITION_USER: user to be created for editiong samples
You can’t perform that action at this time.
0 commit comments