2018-09-07 15:39:36 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:rawhide
|
2018-04-26 07:20:55 +00:00
|
|
|
|
2018-09-25 09:32:20 +00:00
|
|
|
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 \
|
2018-10-01 21:47:49 +00:00
|
|
|
python3-rpmfluff \
|
2018-10-02 23:23:42 +00:00
|
|
|
beakerlib \
|
2018-09-25 09:32:20 +00:00
|
|
|
sudo \
|
|
|
|
tito \
|
|
|
|
which
|
|
|
|
|
|
|
|
RUN 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
|
2018-09-25 09:32:20 +00:00
|
|
|
RUN make check test
|