Skip to content

Commit 1ca7e7e

Browse files
authored
Fix container build for Python 3.12 (#54)
1 parent 4ec27de commit 1ca7e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightspeed-stack/Containerfile.lsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal AS builder
88

99
ARG APP_ROOT=/app-root
1010
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs \
11-
python3.11 python3.11-devel python3.11-pip
11+
python3.12 python3.12-devel python3.12-pip
1212
WORKDIR /app-root
1313

1414
# UV_PYTHON_DOWNLOADS=0 : Disable Python interpreter downloads and use the system interpreter.
@@ -17,7 +17,7 @@ ENV UV_COMPILE_BYTECODE=0 \
1717
UV_PYTHON_DOWNLOADS=0
1818

1919
# Install uv package manager
20-
RUN pip3.11 install uv
20+
RUN pip3.12 install uv
2121

2222
# Add explicit files and directories
2323
# (avoid accidental inclusion of local directories or env files or credentials)

0 commit comments

Comments
 (0)