X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fel_opc-au%2Ffiles%2Fdeploy%2Fopc-au_client%2FDockerfile;fp=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fel_opc-au%2Ffiles%2Fdeploy%2Fopc-au_client%2FDockerfile;h=33704b5803d83a936b48cbed7f42af6dc126ca7c;hb=68b365b097590f156f08b840fac9953e1e93f379;hp=0000000000000000000000000000000000000000;hpb=1516141fcce8e2b27c741fa17f7f0d62919084bc;p=eliot.git diff --git a/blueprints/iotgateway/playbooks/roles/el_opc-au/files/deploy/opc-au_client/Dockerfile b/blueprints/iotgateway/playbooks/roles/el_opc-au/files/deploy/opc-au_client/Dockerfile new file mode 100644 index 0000000..33704b5 --- /dev/null +++ b/blueprints/iotgateway/playbooks/roles/el_opc-au/files/deploy/opc-au_client/Dockerfile @@ -0,0 +1,15 @@ +FROM centos:centos7 +ADD ./work/ /root/work +RUN yum install -y gcc git +RUN yum groupinstall -y 'Development Tools' +RUN cd /root/work && ls -al && tar xzf cmake-3.15.2.tar.gz && \ + rpm -Uvh scons-2.3.0-1.el7.centos.noarch.rpm && \ + python get-pip.py && \ + cd cmake-3.15.2 && ./bootstrap && \ + make && \ + make install && \ + cd ../protocol-opcua-c/ && \ + ./build.sh + +# Execute script +ENTRYPOINT ["sh", "./client"]