Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
docker-image
Commits
a456b649
Commit
a456b649
authored
Oct 10, 2018
by
caiyanming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add r package
Change-Id: I434919fe3f216abfe502e14a05a42701bc8f2f6d
parent
e84abb58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
ai-box/Dockerfile
ai-box/Dockerfile
+3
-2
ai-box/requirements.txt
ai-box/requirements.txt
+4
-0
ai-box/sources.list
ai-box/sources.list
+1
-1
No files found.
ai-box/Dockerfile
View file @
a456b649
...
@@ -20,12 +20,13 @@ MAINTAINER xt
...
@@ -20,12 +20,13 @@ MAINTAINER xt
ENV
PYTHONUNBUFFERED 1
ENV
PYTHONUNBUFFERED 1
ENV
TZ Asia/Shanghai
ENV
TZ Asia/Shanghai
COPY
sources.list /etc/apt/sources.list
COPY
requirements.txt ./
COPY
requirements.txt ./
RUN
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 40976EAF437D05B5
\
RUN
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 40976EAF437D05B5
\
&&
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 3B4FE6ACC0B21F32
\
&&
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 3B4FE6ACC0B21F32
\
&&
apt-get update
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
&&
apt-get
install
-y
--no-install-recommends
--allow-unauthenticated
\
bzip2 gcc libmysqlclient-dev r-base
r-base-dev
\
bzip2 gcc libmysqlclient-dev r-base
=
3.5.1-
*
r-base-dev
=
3.5.1-
*
\
&&
pip
install
--no-cache-dir
--trusted-host
mirrors.aliyun.com
\
&&
pip
install
--no-cache-dir
--trusted-host
mirrors.aliyun.com
\
-i
http://mirrors.aliyun.com/pypi/simple
-r
requirements.txt
-i
http://mirrors.aliyun.com/pypi/simple
-r
requirements.txt
...
...
ai-box/requirements.txt
View file @
a456b649
...
@@ -30,3 +30,7 @@ scikit-learn
...
@@ -30,3 +30,7 @@ scikit-learn
matplotlib
matplotlib
pandas
pandas
numpy
numpy
Jinja2==2.10
MarkupSafe==1.0
rpy2==2.9.4
tzlocal==1.5.1
ai-box/sources.list
View file @
a456b649
...
@@ -16,4 +16,4 @@ deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
...
@@ -16,4 +16,4 @@ deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
deb http://mirrors.aliyun.com/debian sid main
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment