Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.16.z] Base robottelo image on fedora/python-312 #16250

Merged
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
15 changes: 7 additions & 8 deletions Dockerfile
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