Skip to content

Commit

Permalink
Add an image with Python 3.11 and python-oracledb
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Jones <[email protected]>
  • Loading branch information
cjbj committed Aug 7, 2024
1 parent 8abd037 commit f36c4a1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions OracleLinuxDevelopers/oraclelinux8/python/3.11-oracledb/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit f36c4a1

Please sign in to comment.