datamgmt

imply.io Docker Dockerfile update

Nov 17th, 2019
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. FROM ubuntu:18.04
  2.  
  3. # Prepare OS
  4. COPY setup-os.sh /root
  5. RUN /root/setup-os.sh
  6.  
  7. # Copy package from build directory
  8. ARG implyversion
  9. COPY ["imply-$implyversion", "/opt/imply-${implyversion}"]
  10. RUN mkdir -p /mnt/imply/var && ln -snf /mnt/imply/var /opt/imply-${implyversion}/var
  11. RUN ln -snf /opt/imply-${implyversion} /opt/imply
  12.  
  13. EXPOSE 1527 2181 8081 8082 8083 8090 8091 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8200 9095
  14.  
  15. WORKDIR /opt/imply-$implyversion
  16.  
  17. CMD ["bin/supervise", "-c", "conf/supervise/quickstart.conf"]
Advertisement
Add Comment
Please, Sign In to add comment