[Add]新增针对WebTrader的Dockerfile
This commit is contained in:
parent
af2faec43f
commit
cdbf6a9b99
0
docker/build_image.sh → docker/vnc/build_image.sh
Executable file → Normal file
0
docker/build_image.sh → docker/vnc/build_image.sh
Executable file → Normal file
0
docker/run_shell.sh → docker/vnc/run_shell.sh
Executable file → Normal file
0
docker/run_shell.sh → docker/vnc/run_shell.sh
Executable file → Normal file
0
docker/run_vnc.sh → docker/vnc/run_vnc.sh
Executable file → Normal file
0
docker/run_vnc.sh → docker/vnc/run_vnc.sh
Executable file → Normal file
0
docker/server_vnpy.sh → docker/vnc/server_vnpy.sh
Executable file → Normal file
0
docker/server_vnpy.sh → docker/vnc/server_vnpy.sh
Executable file → Normal file
29
docker/web/Dockerfile
Normal file
29
docker/web/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
||||
# Ubuntu 16.04 for running vn.py WebTrader
|
||||
|
||||
#FROM continuumio/anaconda
|
||||
FROM ubuntu:16.04
|
||||
|
||||
MAINTAINER vn.py project <vn.py@foxmail.com>
|
||||
|
||||
# Use bash
|
||||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
||||
|
||||
# Install software
|
||||
RUN apt-get update
|
||||
RUN apt-get install gcc g++ cmake libboost-all-dev -y
|
||||
RUN apt-get install git bzip2 -y
|
||||
RUN apt-get install libgl1-mesa-glx libglib2.0 libsm6 libxrender1 -y
|
||||
|
||||
# Install Anaconda
|
||||
#RUN wget https://repo.continuum.io/archive/Anaconda2-4.0.0-Linux-x86_64.sh
|
||||
ADD https://repo.continuum.io/archive/Anaconda2-4.0.0-Linux-x86_64.sh .
|
||||
RUN bash Anaconda2-4.0.0-Linux-x86_64.sh -b -p /opt/conda/
|
||||
|
||||
ENV PATH /opt/conda/bin:$PATH
|
||||
|
||||
# Install vn.py
|
||||
RUN git clone https://github.com/vnpy/vnpy.git
|
||||
WORKDIR vnpy
|
||||
RUN bash install.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user