Skip to content

Commit ff99983

Browse files
Christopher JonesDjelibeybi
authored andcommitted
Fix review comment - start with a Python image
Signed-off-by: Christopher Jones <[email protected]>
1 parent e57426d commit ff99983

File tree

1 file changed

+2
-7
lines changed
  • OracleLinuxDevelopers/oraclelinux8/python/3.9-oracledb

1 file changed

+2
-7
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
# Copyright (c) 2024 Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

4-
FROM ghcr.io/oracle/oraclelinux:8
4+
FROM ghcr.io/oracle/oraclelinux8-python:3.9
55

6-
RUN dnf -y module disable python36 && \
7-
dnf -y module enable python39 && \
8-
dnf -y install python39 python39-pip python39-setuptools python39-wheel && \
9-
dnf -y install oraclelinux-developer-release-el8 && \
6+
RUN dnf -y install oraclelinux-developer-release-el8 && \
107
dnf -y install python39-oracledb && \
118
# Optionally install Oracle Instant Client to use python-oracledb Thick mode
129
# dnf -y install oracle-instantclient-release-23ai-el8 && \
1310
# dnf -y install oracle-instantclient-basic && \
1411
rm -rf /var/cache/dnf
15-
16-
CMD ["/bin/python3", "--version"]

0 commit comments

Comments
 (0)