Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Community,
I'm using FastAPI with Oracle 19c. Recently, I tried migrating to Thick mode.
Initially, I tested it locally by using the Instant Client for macOS (ARM64) version on my MacBook, and it worked fine.
Afterward, I wanted to add the installation steps into my Dockerfile for deployment via Docker on Kubernetes. However, I encountered some issues.
At first, there were path-related problems, but after some digging and fixing, I realized there might be a more fundamental issue:
the base images I tried, such as python:3.12-alpine and python:3.12.2-slim-bookworm, are built with musl instead of glibc.
Because of this, some necessary functionalities expected by the Oracle Instant Client are missing, leading to runtime issues.
Since I'm not very familiar with C-level system differences, I'm not entirely sure if this understanding is accurate. Is there any suggestion of this problem?
activate python
I think I have this file under lib
Thanks in advance for any advice or suggestions!
Note: Is there any recommendation for a better Docker base image when using FastAPI + Oracle 19c with Instant Client support? (I'v already tried to use oraclelinux:9, but I would like to use python base image instead)
Beta Was this translation helpful? Give feedback.
All reactions