Skip to content

Commit

Permalink
Base robottelo image on fedora/python-312 (SatelliteQE#16248)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogajduse authored and jyejare committed Oct 19, 2024
1 parent 371ed37 commit 121d290
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 121d290

Please sign in to comment.