Skip to content

Commit

Permalink
[6.15.z] Base robottelo image on fedora/python-312 (#16252)
Browse files Browse the repository at this point in the history
Base robottelo image on fedora/python-312 (#16248)

(cherry picked from commit 2246079)

Co-authored-by: Ondřej Gajdušek <[email protected]>
  • Loading branch information
Satellite-QE and ogajduse authored Sep 6, 2024
1 parent fde2ca2 commit bd93560
Showing 1 changed file with 7 additions and 8 deletions.
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

0 comments on commit bd93560

Please sign in to comment.