This commit is contained in:
runny committed 2026-05-12 15:48:51 +08:00
1 parent 13ecfc3e42
commit cb88f02b40
4 files changed
+55 -3

No files matched your search

+4 -2
View File
@@ -1,10 +1,12 @@
FROM python:3.12-slim
FROM python:3.12-slim-bookworm
WORKDIR /app
# Oracle Instant Client runtime dependencies for thick mode.
# `libaio1` is available on Debian bookworm, while newer variants may expose `libaio1t64`.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libaio1 libnsl2 \
&& (apt-get install -y --no-install-recommends libaio1 libnsl2 \
|| apt-get install -y --no-install-recommends libaio1t64 libnsl2) \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies