-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base robottelo image on fedora/python-312 (#16248)
(cherry picked from commit 2246079)
- Loading branch information
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM fedora:38 | ||
FROM quay.io/fedora/python-312:latest | ||
MAINTAINER https://github.com/SatelliteQE | ||
|
||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv | ||
ENV PYCURL_SSL_LIBRARY=openssl \ | ||
ROBOTTELO_DIR="${HOME}/robottelo" | ||
|
||
RUN dnf install -y gcc git make cmake libffi-devel openssl-devel python3-devel \ | ||
redhat-rpm-config which libcurl-devel libxml2-devel | ||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv | ||
|
||
COPY / /robottelo/ | ||
WORKDIR /robottelo | ||
USER 1001 | ||
COPY --chown=1001:0 / ${ROBOTTELO_DIR} | ||
|
||
ENV PYCURL_SSL_LIBRARY=openssl | ||
ENV UV_SYSTEM_PYTHON=1 | ||
WORKDIR "${ROBOTTELO_DIR}" | ||
RUN uv pip install -r requirements.txt | ||
|
||
CMD make test-robottelo |