PracticeDev/study_clang/zmq/docker_zmq_ubuntu_server/Dockerfile

11 lines
286 B
Docker

FROM ubuntu:18.04 as docker_zmq_ubuntu_server
MAINTAINER tlsong <songtianlun@frytea.com>
COPY hw_server.cpp /home/
COPY hw_server /home/hw_server_host
WORKDIR /home
RUN apt-get update \
&& apt-get install libtool -y \
&& apt-get install libzmq3-dev -y
CMD ["./hw_server_host"]