tdnf/ci/Dockerfile.photon

20 lines
725 B
Docker

FROM photon:latest
RUN tdnf update -y
RUN tdnf remove -y toybox
RUN tdnf install -y --enablerepo=photon-debuginfo \
build-essential cmake curl-devel rpm-build \
libsolv-devel popt-devel sed createrepo_c glib expat-libs \
findutils python3 python3-pip python3-setuptools \
python3-devel valgrind gpgme-devel glibc-debuginfo \
expat-devel openssl-devel zlib-devel sqlite-devel \
python3-requests python3-urllib3 python3-pyOpenSSL \
sudo shadow which e2fsprogs util-linux
# this can to be removed once latest pytest gets published in photon
RUN pip3 install pytest flake8
RUN mkdir -p /var/lib/tdnf
CMD ["/bin/bash"]