Advertisement
y2kbug

tmp

Jun 27th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. RUN apt update
  2. RUN apt install -y sudo software-properties-common ssh git curl zsh vim build-essential cmake gfortran libatlas-dev libavcodec-dev libavformat-dev libboost-all-dev libgtk2.0-dev libjpeg-dev liblapack-dev libswscale-dev pkg-config python-dev python-pip wget zip
  3. RUN pip install --upgrade pip
  4.  
  5. RUN pip install numpy scipy pandas scikit-learn
  6. RUN apt install -y python-skimage
  7.  
  8. RUN apt install -y luarocks
  9. RUN curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash -e
  10. WORKDIR /root/
  11. RUN git clone https://github.com/torch/distro.git ./torch --recursive
  12. WORKDIR /root/torch/
  13. RUN bash install-deps
  14. RUN ./install.sh
  15.  
  16. ENV PATH="/root/torch/install/bin:${PATH}"
  17. RUN luarocks install moses
  18. RUN luarocks install torchx
  19. RUN luarocks install nn
  20. RUN luarocks install dpnn
  21. RUN luarocks install csvigo
  22. RUN luarocks install optim
  23.  
  24. WORKDIR /root/
  25. RUN git clone https://github.com/facebook/fblualib.git
  26. WORKDIR /root/fblualib/fblualib/python
  27. RUN luarocks make rockspec/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement