Skip to content

Commit a71acdf

Browse files
Christopher JonesDjelibeybi
authored andcommitted
Add an image with Python 3.11 and python-oracledb
Signed-off-by: Christopher Jones <[email protected]>
1 parent 8abd037 commit a71acdf

File tree

1 file changed

+13
-0
lines changed
  • OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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/oraclelinux8-python:3.11
5+
6+
RUN dnf -y install oraclelinux-developer-release-el8 && \
7+
dnf -y install python3.11-oracledb && \
8+
# Optionally install Oracle Instant Client to use python-oracledb Thick mode
9+
# dnf -y install oracle-instantclient-release-23ai-el8 && \
10+
# dnf -y install oracle-instantclient-basic && \
11+
rm -rf /var/cache/dnf
12+
13+
CMD ["/bin/python3", "--version"]

0 commit comments

Comments
 (0)