Github user JonZeolla commented on a diff in the pull request: https://github.com/apache/metron/pull/848#discussion_r153326917 --- Diff: metron-deployment/packaging/docker/ansible-docker/Dockerfile --- @@ -33,18 +38,28 @@ RUN tar xvf setuptools-11.3.tar.gz WORKDIR /usr/src/setuptools-11.3 RUN python2.7 setup.py install RUN easy_install-2.7 pip +# install ansible and set the configuration var RUN pip2.7 install ansible==2.0.0.2 RUN pip2.7 install boto COPY ansible.cfg /root/ ENV ANSIBLE_CONFIG /root/ansible.cfg +# java RUN yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel RUN yum install -y which RUN yum install -y nss WORKDIR /usr/src +# setup maven RUN wget http://apache.cs.utah.edu/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz RUN tar xzvf apache-maven-3.3.9-bin.tar.gz RUN mv apache-maven-3.3.9 /opt/maven RUN ln -s /opt/maven/bin/mvn /usr/bin/mvn -RUN yum -y install asciidoc rpm-build rpm2cpio tar unzip xmlto zip rpmlint && yum clean all +# install rpm tools required to build rpms +RUN yum -y install asciidoc rpm-build rpm2cpio tar unzip xmlto zip rpmlint make && yum clean all +# create a .bashrc for root, enabling the cpp 11 toolset +RUN touch /root/.bashrc \ + && cat '/opt/rh/devtoolset-2/enable' >> /root/.bashrc --- End diff -- Same as above
---