2018-10-04 17:39:44 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:29
|
2018-04-26 07:20:55 +00:00
|
|
|
|
|
|
|
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 \
|
2018-09-19 12:00:25 +00:00
|
|
|
anaconda-tui python3-gevent beakerlib && \
|
|
|
|
useradd weldr
|
2018-04-26 07:20:55 +00:00
|
|
|
|
|
|
|
RUN mkdir /lorax
|
|
|
|
COPY . /lorax
|
2018-09-19 12:00:25 +00:00
|
|
|
# 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 {} \;
|
2018-04-26 07:20:55 +00:00
|
|
|
|
|
|
|
WORKDIR /lorax
|
|
|
|
RUN make test
|