20 lines
571 B
Docker
20 lines
571 B
Docker
FROM centos:7 as centos_zmq_centos_client
|
|
MAINTAINER tlsong <songtianlun@frytea.com>
|
|
|
|
COPY hw_client.cpp /home/
|
|
COPY hw_client /home/hw_client_host
|
|
|
|
WORKDIR /home
|
|
RUN yum install wget -y \
|
|
&& yum install libtool -y \
|
|
&& yum install gcc-c++ -y \
|
|
&& yum install make -y \
|
|
&& wget http://res.frytea.com/Library/zeromq-4.1.4.tar.gz \
|
|
&& tar zvxf zeromq-4.1.4.tar.gz \
|
|
&& cd zeromq-4.1.4 \
|
|
&& ./autogen.sh \
|
|
&& ./configure --without-libsodium \
|
|
&& make \
|
|
&& make install \
|
|
&& echo "/usr/local/lib">>/etc/ld.so.conf \
|
|
&& ldconfig |