File tree Expand file tree Collapse file tree 3 files changed +54
-2
lines changed Expand file tree Collapse file tree 3 files changed +54
-2
lines changed Original file line number Diff line number Diff line change @@ -1030,6 +1030,38 @@ Python versions.
10301030
10311031 python -m pip install oracledb-3.1.0-cp312-cp312-macosx_10_13_universal2.whl
10321032
1033+ .. _docker :
1034+
1035+ Using python-oracledb Containers
1036+ ================================
1037+
1038+ Dockerfiles showing installation of Python and python-oracledb on Oracle Linux
1039+ are available from
1040+ `github.com/oracle/docker-images/tree/main/OracleLinuxDevelopers
1041+ <https://github.com/oracle/docker-images/tree/main/OracleLinuxDevelopers> `__.
1042+
1043+ Containers built from these Dockerfiles can be pulled from the GitHub Container
1044+ Registry:
1045+
1046+ - `oraclelinux9-python <https://github.com/oracle/docker-images/pkgs/container/
1047+ oraclelinux9-python> `__
1048+ - `oraclelinux8-python <https://github.com/oracle/docker-images/pkgs/container/
1049+ oraclelinux8-python> `__
1050+
1051+ For example, you can pull a container for Python 3.12 on Oracle Linux 9 using::
1052+
1053+ docker pull ghcr.io/oracle/oraclelinux9-python:3.12-oracledb
1054+
1055+ Or use it in a Dockerfile like::
1056+
1057+ FROM ghcr.io/oracle/oraclelinux9-python:3.12-oracledb
1058+
1059+ **Sample Containers **
1060+
1061+ There are two python-oracledb containers with samples located in
1062+ `/samples/containers
1063+ <https://github.com/oracle/python-oracledb/tree/main/samples/containers> `__.
1064+
10331065.. _configprovidermodules :
10341066
10351067Installing Centralized Configuration Provider Modules for python-oracledb
Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ This directory contains samples for python-oracledb.
2828
2929### Examples in a Container
3030
31- The [ sample_container] ( ./sample_container ) directory has a Dockerfile that will
32- build a container with the samples and a running Oracle Database.
31+ The [ containers] ( ./containers ) directory has Dockerfiles for building a
32+ container with the samples and a running Oracle Database, and for creating a
33+ development environment.
3334
3435### Notebooks
3536
Original file line number Diff line number Diff line change 1+ # python-oracledb Containers
2+
3+ ## Samples
4+
5+ This directory contains Dockerfiles for creating sample containers:
6+
7+ - [ Samples and Oracle Database] ( ./samples_and_db ) - a container with a running database, python-oracledb, and all the samples
8+ - [ Application development] ( ./app_dev ) - a container with python-oracledb and the Apache web server with WSGI. This is useful for creating your own applications
9+
10+ ## Container images for Linux Developers
11+
12+ Additional Dockerfiles showing installation of Python and python-oracle on
13+ Oracle Linux are available from
14+ [ github.com/oracle/docker-images/tree/main/OracleLinuxDevelopers] ( https://github.com/oracle/docker-images/tree/main/OracleLinuxDevelopers ) .
15+
16+ Containers can be pulled from the GitHub Container Registry:
17+
18+ - [ oraclelinux9-python] ( https://github.com/oracle/docker-images/pkgs/container/oraclelinux9-python )
19+ - [ oraclelinux8-python] ( https://github.com/oracle/docker-images/pkgs/container/oraclelinux8-python )
You can’t perform that action at this time.
0 commit comments