From a71acdf19dc0730580457be346cf526933ec4cba Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Wed, 7 Aug 2024 15:29:35 +1000 Subject: [PATCH] Add an image with Python 3.11 and python-oracledb Signed-off-by: Christopher Jones --- .../oraclelinux8/python/3.11-oracledb/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile diff --git a/OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile b/OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile new file mode 100644 index 0000000000..058550b78a --- /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"]