Skip to content

kashif-se/docker-windows-python-oracle-instant-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Docker Windows Python Oracle Instant Client

Build Status

Windows Container to Run python applications with Oracle Instant client cx_Oracle Architecture

What this Image contains

This image is extended from Windows Server Core Python image (python:windowsservercore) We have installed Chocolaty which is used install Microsoft Visual C++ Redistributable (used by oracle client).

Currently Instant Client for Microsoft Windows (x64) 64-bit Version 19.9.0.0.0 Basic Package is installed and configured.

Build is tested with Windows Server 2019. You can use the Docker file to extend it for other versions of windows too

Preinstalled Python Libraries

  1. cx_Oracle
  2. SQLAlchemy

You may install additional libraries. (Refer to example)

Sample Dockerfile

FROM kshfse/windows-python-oracle-instant-client
WORKDIR C:\\app
COPY ./src/ .
RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "./app.py" ]

Reference:

  1. cx_Oracle: Python
  2. Oracle Instant Client Documentation

About

Windows Docker container to Run python applications with Oracle Instant client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published