33704b5803d83a936b48cbed7f42af6dc126ca7c
[eliot.git] / blueprints / iotgateway / playbooks / roles / el_opc-au / files / deploy / opc-au_client / Dockerfile
1 FROM centos:centos7
2 ADD ./work/ /root/work
3 RUN yum install -y gcc git
4 RUN yum  groupinstall -y 'Development Tools'
5 RUN cd /root/work && ls -al && tar xzf cmake-3.15.2.tar.gz && \
6     rpm -Uvh scons-2.3.0-1.el7.centos.noarch.rpm && \
7     python get-pip.py && \
8     cd cmake-3.15.2 && ./bootstrap && \
9     make && \
10     make install && \
11     cd ../protocol-opcua-c/ && \
12     ./build.sh
13
14 # Execute script
15 ENTRYPOINT ["sh", "./client"]