2024-03-12 07:58:46 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:latest
|
2021-03-15 08:33:06 +00:00
|
|
|
LABEL \
|
|
|
|
name="Pungi test" \
|
|
|
|
description="Run tests using tox with Python 3" \
|
|
|
|
vendor="Pungi developers" \
|
|
|
|
license="MIT"
|
|
|
|
|
|
|
|
RUN dnf -y update && dnf -y install \
|
|
|
|
findutils \
|
2021-08-17 02:08:35 +00:00
|
|
|
libmodulemd \
|
2021-03-15 08:33:06 +00:00
|
|
|
git \
|
|
|
|
koji \
|
|
|
|
make \
|
|
|
|
python3-createrepo_c \
|
2021-08-17 02:08:35 +00:00
|
|
|
python3-gobject-base \
|
2021-03-15 08:33:06 +00:00
|
|
|
python3-tox \
|
|
|
|
python3-urlgrabber \
|
|
|
|
&& dnf clean all
|
|
|
|
|
|
|
|
WORKDIR /src
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
CMD ["tox", "-e", "flake8,black,py3"]
|