File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
OracleLinuxDevelopers/oraclelinux8/python/3.9-oracledb Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) 2024 Oracle and/or its affiliates.
2+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+ FROM ghcr.io/oracle/oraclelinux:8
5+
6+ RUN dnf -y module disable python36 && \
7+ dnf -y module enable python39 && \
8+ dnf -y install python39 python39-pip python39-setuptools python39-wheel && \
9+ dnf -y install oraclelinux-developer-release-el8 && \
10+ dnf -y install python39-oracledb && \
11+ # Optionally install Oracle Instant Client to use python-oracledb Thick mode
12+ # dnf -y install oracle-instantclient-release-23ai-el8 && \
13+ # dnf -y install oracle-instantclient-basic && \
14+ rm -rf /var/cache/dnf
15+
16+ CMD ["/bin/python3" , "--version" ]
You can’t perform that action at this time.
0 commit comments