[ 
https://issues.apache.org/jira/browse/METRON-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16267587#comment-16267587
 ] 

ASF GitHub Bot commented on METRON-1333:
----------------------------------------

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


> Ansible-Docker can no longer build metron
> -----------------------------------------
>
>                 Key: METRON-1333
>                 URL: https://issues.apache.org/jira/browse/METRON-1333
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.4.2
>            Reporter: Otto Fowler
>            Assignee: Otto Fowler
>            Priority: Critical
>
> The ansible-docker container could be used to build metron ( even the rpms ) 
> and run the ansible scripts.  This is no longer true, as the new node ui 
> projects have native compilation that requires c++ 11 support in gcc, and rpm 
> build requires node to be installed ( not local installed as in the mvn 
> packaging ).
> Many users are having problems building metron on centos platforms, having 
> this container available and functioning would be a great help



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to