NoteOnMe博客平台搭建
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
2.8 KiB

FROM webdevops/php-nginx-dev
RUN apt-get update \
&& echo "\033[34m apt-get update finished \033[0m" \
# Install python3
&& apt-get install -y python3 \
&& echo "\033[34m install python3 finished \033[0m" \
# Install pip
#&& apt-get install -y wget \
#&& wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py \
#&& python3 /tmp/get-pip.py \
&& apt-get install -y python3-pip \
&& echo "\033[34m install python3-pip finished \033[0m" \
&& pip3 install --upgrade pip \
&& echo "\033[34m upgrade pip finished \033[0m" \
# Install other libs
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ requests \
&& echo "\033[34m pip3 install requests finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ numpy==1.14.2 \
&& echo "\033[34m pip3 install numpy==1.14.2 finished\033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ tqdm==4.11.2 \
&& echo "\033[34m pip3 install tqdm finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ opencv-python==3.4.0.12 \
&& echo "\033[34m pip3 install opencv-python==3.4.0.12 finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ Shapely==1.6.4.post1 \
&& echo "\033[34m pip3 install Shapely==1.6.4.post1 finished\033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ matplotlib==1.5.3 \
&& echo "\033[34m pip3 install matplotlib==1.5.3 finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ tensorflow==1.4.0 \
&& echo "\033[34m pip3 install tensorflow==1.4.0 finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ Cython==0.24.1 \
&& echo "\033[34m pip3 install Cython==0.24.1 finished\033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ ipython==5.1.0 \
&& echo "\033[34m pip3 install ipython==5.1.0 finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ scipy==1.1.0 \
&& echo "\033[34m pip3 install scipy==1.1.0 finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ nltk \
&& echo "\033[34m pip3 install nltk finished\033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ pillow \
&& echo "\033[34m pip3 install pillow finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ distance \
&& echo "\033[34m pip3 install distance finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ scikit-image \
&& echo "\033[34m pip3 install scikit-image finished \033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ six \
&& echo "\033[34m pip3 install six finished\033[0m" \
&& pip3 install -U -i https://pypi.tuna.tsinghua.edu.cn/simple/ click \
&& echo "\033[34m pip3 install click finished \033[0m" \
COPY php.ini /opt/docker/etc/php/php.ini