PracticeDev/study_clang/zmq/docker_zmq_centos_client/Dockerfile

20 lines
571 B
Docker
Raw Normal View History

2022-12-20 17:31:11 +08:00
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