mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 18:39:48 +08:00
This removes support for default_modules_url in the Platform XMD and gets the list of default name:stream combinations to include in the buildroot from https://pagure.io/releng/fedora-module-defaults. Addresses #1402
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
FROM fedora:29
|
|
|
|
WORKDIR /build
|
|
# Replace the pinned libmodulemd RPMs with python3-libmodulemd after https://bodhi.fedoraproject.org/updates/FEDORA-2019-ccf39d5166
|
|
RUN dnf -y install \
|
|
--nogpgcheck \
|
|
--setopt=deltarpm=0 \
|
|
--setopt=install_weak_deps=false \
|
|
--setopt=tsflags=nodocs \
|
|
git-core \
|
|
createrepo_c \
|
|
rsync \
|
|
python3-fedmsg \
|
|
python3-kobo-rpmlib \
|
|
python3-rpm \
|
|
python3-gobject \
|
|
python3-dnf \
|
|
python3-dogpile-cache \
|
|
python3-flask \
|
|
python3-flask-migrate \
|
|
python3-flask-sqlalchemy \
|
|
python3-koji \
|
|
python3-ldap3 \
|
|
https://kojipkgs.fedoraproject.org//packages/libmodulemd/2.8.0/1.fc29/x86_64/libmodulemd-2.8.0-1.fc29.x86_64.rpm \
|
|
https://kojipkgs.fedoraproject.org//packages/libmodulemd/2.8.0/1.fc29/x86_64/python3-libmodulemd-2.8.0-1.fc29.x86_64.rpm \
|
|
python3-munch \
|
|
python3-pip \
|
|
python3-prometheus_client \
|
|
python3-requests \
|
|
python3-six \
|
|
python3-solv \
|
|
python3-sqlalchemy \
|
|
python3-pungi \
|
|
python3-psycopg2 \
|
|
# Test-only dependencies
|
|
python3-pytest \
|
|
python3-flake8 \
|
|
python3-mock \
|
|
python3-tox \
|
|
rpm-build \
|
|
python3-PyYAML \
|
|
&& dnf clean all
|
|
VOLUME /src
|
|
WORKDIR /src
|
|
ENTRYPOINT ["docker/test-py3.sh"]
|