FROM fedora:25
MAINTAINER Jean Gabes <naparuba@gmail.com>

RUN       yum  --nogpgcheck  -y  --rpmverbosity=error  --errorlevel=1  --color=auto install python
RUN       yum  --nogpgcheck  -y  --rpmverbosity=error  --errorlevel=1  --color=auto install libcurl-devel
RUN       yum  --nogpgcheck  -y  --rpmverbosity=error  --errorlevel=1  --color=auto install gcc
RUN       yum  --nogpgcheck  -y  --rpmverbosity=error  --errorlevel=1  --color=auto install gcc-c++
RUN       yum  --nogpgcheck  -y  --rpmverbosity=error  --errorlevel=1  --color=auto install redhat-rpm-config
RUN       yum  --nogpgcheck  -y  --rpmverbosity=error  --errorlevel=1  --color=auto install python-devel

ADD        . /root/opsbro-oss

ENTRYPOINT    test/test_one_linux_installation.sh  && test/assert_group.sh "fedora"
WORKDIR       /root/opsbro-oss
