Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ USER root
RUN dnf --disablerepo="*" --enablerepo="ubi-9-appstream-rpms" --enablerepo="ubi-9-baseos-rpms" install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs gcc

# Install uv package manager
RUN pip3.12 install "uv==0.8.11"
RUN pip3.12 install "uv==0.8.15"

# Add explicit files and directories
# (avoid accidental inclusion of local directories or env files or credentials)
Expand Down Expand Up @@ -57,7 +57,12 @@ COPY --from=builder /app-root/LICENSE /licenses/
# Add uv to final image for derived images to add additional dependencies
# with command:
# $ uv pip install <dependency>
RUN pip3.12 install "uv==0.8.11"
RUN pip3.12 install "uv==0.8.15"

USER root

# Additional tools for derived images
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs jq patch

# Add executables from .venv to system PATH
ENV PATH="/app-root/.venv/bin:$PATH"
Expand Down