Commit c69a3a00 authored by caiyanming's avatar caiyanming

split ai-box to a new git project

Change-Id: I757f3a28e5173e17361aa63ea7c0baf9555eb83d
parent 214b1dcd
#
# Copyright (C) 2018 Xuetong Tech Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM registry-vpc.cn-hangzhou.aliyuncs.com/schbrain/python:3.6.7_1
MAINTAINER xt
ENV PYTHONUNBUFFERED 1
ENV TZ Asia/Shanghai
# to fix install.r mirt
ENV LIBRARY_PATH /usr/lib/gcc/x86_64-linux-gnu/8
COPY sources.list /etc/apt/sources.list
COPY requirements.txt ./
COPY simsun.ttc /usr/local/fonts/
RUN apt-get update \
&& apt-get install -y --allow-unauthenticated \
bzip2 gcc libmysqlclient-dev libzbar-dev \
littler r-cran-littler r-cran-stringr \
r-base r-base-dev r-recommended \
&& pip install --no-cache-dir --trusted-host mirrors.aliyun.com \
-i http://mirrors.aliyun.com/pypi/simple -r requirements.txt \
&& echo 'options(repos = c(CRAN = "https://cloud.r-project.org/"))' >> /etc/R/Rprofile.site \
&& echo 'source("/etc/R/Rprofile.site")' >> /etc/littler.r \
&& ln -s /usr/lib/R/site-library/littler/examples/install.r /usr/local/bin/install.r \
&& ln -s /usr/lib/R/site-library/littler/examples/install2.r /usr/local/bin/install2.r \
&& ln -s /usr/lib/R/site-library/littler/examples/installGithub.r /usr/local/bin/installGithub.r \
&& ln -s /usr/lib/R/site-library/littler/examples/testInstalled.r /usr/local/bin/testInstalled.r \
&& install.r docopt \
&& install.r mirt \
&& install.r mirtCAT \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds \
&& rm -rf /var/lib/apt/lists/*
CMD [ "/bin/bash" ]
absl-py==0.7.1
acm-sdk-python==0.4.10
aliyun-python-sdk-core==2.13.4
aliyun-python-sdk-core-v3==2.13.3
aliyun-python-sdk-kms==2.6.0
astor==0.8.0
atomicwrites==1.3.0
attrs==19.1.0
certifi==2019.3.9
cffi==1.12.3
chardet==3.0.4
crcmod==1.7
cycler==0.10.0
decorator==4.4.0
Django==2.2.2
et-xmlfile==1.0.1
gast==0.2.2
gevent==1.4.0
greenlet==0.4.15
grpcio==1.21.1
gunicorn==19.9.0
h5py==2.9.0
idna==2.8
imageio==2.5.0
importlib-metadata==0.17
imutils==0.5.2
jdcal==1.4.1
Jinja2==2.10.1
jmespath==0.9.4
joblib==0.13.2
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.1.1
MarkupSafe==1.1.1
matplotlib==3.0.3
mlxtend==0.16.0
mock==3.0.5
more-itertools==7.0.0
mysqlclient==1.4.2.post1
neo4j-driver==1.7.4
neobolt==1.7.13
neotime==1.7.4
networkx==2.3
numpy==1.16.4
opencv-python==4.1.0.25
openpyxl==2.6.2
oss2==2.7.0
packaging==19.0
pandas==0.24.2
pathlib2==2.3.3
Pillow==6.0.0
pluggy==0.12.0
protobuf==3.8.0
py==1.8.0
pycparser==2.19
pycryptodome==3.8.2
pyparsing==2.4.0
pypng==0.0.19
pytest==4.6.2
python-dateutil==2.8.0
pytz==2019.1
PyWavelets==1.0.3
PyYAML==5.1
pyzbar==0.1.8
redis==3.2.1
requests==2.22.0
rpy2==3.0.4
scikit-image==0.15.0
scikit-learn==0.21.2
scipy==1.3.0
seaborn==0.9.0
simplegeneric==0.8.1
six==1.12.0
SQLAlchemy==1.3.4
sqlparse==0.3.0
tabulate==0.8.3
tensorboard==1.13.1
tensorflow==1.13.1
tensorflow-estimator==1.13.0
termcolor==1.1.0
tzlocal==1.5.1
urllib3==1.25.3
wcwidth==0.1.7
Werkzeug==0.15.4
xlrd==1.2.0
xlsxwriter==1.2.6
zbarlight==2.3
zipp==0.5.1
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ bionic main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic universe
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates universe
deb http://mirrors.aliyun.com/ubuntu/ bionic multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu bionic partner
deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ bionic-security universe
deb http://mirrors.aliyun.com/ubuntu/ bionic-security multiverse
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment