Sign inSign up

kshfse/windows-python-oracle-instant-client

By kshfse

•Updated over 5 years ago

Windows Container to Run python applications with Oracle Instant client

Image
0

907

kshfse/windows-python-oracle-instant-client repository overview

⁠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⁠

Tag summary

Content type

Image

Digest

Size

2.6 GB

Last updated

over 5 years ago

docker pull kshfse/windows-python-oracle-instant-client