959589652b
these are built on top of beakerlib and we use its internal protocol to figure out the result without relying on the full test runner that is tipically used inside of a RHEL environment! Includes a disabled test snippet for Issue #460
19 lines
652 B
Docker
19 lines
652 B
Docker
FROM fedora:28
|
|
|
|
RUN dnf -y install make libgit2-glib tito python3-pylint \
|
|
python3-nose python3-mako python3-flask \
|
|
python3-coverage libselinux-python3 sudo \
|
|
pykickstart python3-pytoml python3-sphinx \
|
|
python3-semantic_version python3-rpmfluff \
|
|
anaconda-tui python3-gevent beakerlib && \
|
|
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 test
|