Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.43 KB

File metadata and controls

32 lines (25 loc) · 1.43 KB

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