FROM $base_image
$epel_pkg
$infra_repo
RUN $pkg_mgr install -y $pkg_list \
&& $pkg_mgr clean all \
# for the hooks we need to have /usr/bin/python
&& cp /usr/bin/python3 /usr/bin/python \
# for the alembic test we need /usr/bin/alembic
&& cp /usr/bin/alembic-3 /usr/bin/alembic
WORKDIR /pagure
ENTRYPOINT [ "/pagure/runtests.py", "run" ]
CMD []