lorax/Dockerfile.test
Brian C. Lane b35fe9d32a Add beakerlib to Dockerfile.test
Also kill the lorax-composer process and remove /run/weldr/api.socket
so that when this is run with podman you don't get an error about
attempting to tar up the socket.
2018-10-05 09:09:10 -07:00

36 lines
697 B
Docker

FROM registry.fedoraproject.org/fedora:29
RUN dnf -y install \
anaconda-tui \
libgit2-glib \
libselinux-python3 \
make \
pykickstart \
python3-coverage \
python3-coveralls \
python3-flask \
python3-gevent \
python3-mako \
python3-nose \
python3-pocketlint \
python3-pylint \
python3-pytoml \
python3-semantic_version \
python3-sphinx \
python3-rpmfluff \
beakerlib \
sudo \
tito \
which
RUN useradd weldr
RUN mkdir /lorax
COPY . /lorax
# remove byte-compiled files to avoid issues between Python 2/3
# this can happen when you switch between rhel7 and master branches
RUN find /lorax -name "*.pyc" -exec rm -f {} \;
WORKDIR /lorax
RUN make check test