diff --git a/OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile b/OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile new file mode 100644 index 000000000..058550b78 --- /dev/null +++ b/OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile @@ -0,0 +1,13 @@ +# Copyright (c) 2024 Oracle and/or its affiliates. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + +FROM ghcr.io/oracle/oraclelinux8-python:3.11 + +RUN dnf -y install oraclelinux-developer-release-el8 && \ + dnf -y install python3.11-oracledb && \ + # Optionally install Oracle Instant Client to use python-oracledb Thick mode + # dnf -y install oracle-instantclient-release-23ai-el8 && \ + # dnf -y install oracle-instantclient-basic && \ + rm -rf /var/cache/dnf + +CMD ["/bin/python3", "--version"]