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
7e4c0cd3
Commit
7e4c0cd3
authored
Nov 29, 2018
by
caiyanming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tensorflow to ai-box
Change-Id: I9380576cf0e66913f057ef6c127bfaa86ad793d2
parent
9dbd008f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
ai-box/Dockerfile
ai-box/Dockerfile
+3
-0
ai-box/requirements.txt
ai-box/requirements.txt
+1
-0
ai-box/tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl
ai-box/tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl
+0
-0
No files found.
ai-box/Dockerfile
View file @
7e4c0cd3
...
...
@@ -25,6 +25,7 @@ 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/
COPY
tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl ./
RUN
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 40976EAF437D05B5
\
&&
apt-key adv
--recv-keys
--keyserver
keyserver.ubuntu.com 3B4FE6ACC0B21F32
\
&&
apt-get update
\
...
...
@@ -34,6 +35,7 @@ RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5 \
r-base
=
3.5.1-
*
r-base-dev
=
3.5.1-
*
r-recommended
=
3.5.1-
*
\
&&
pip
install
--no-cache-dir
--trusted-host
mirrors.aliyun.com
\
-i
http://mirrors.aliyun.com/pypi/simple
-r
requirements.txt
\
&&
pip
install
./tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl
\
&&
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
\
...
...
@@ -43,6 +45,7 @@ RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5 \
&&
install.r docopt
\
&&
install.r mirt
\
&&
install.r mirtCAT
\
&&
rm
./tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl
\
&&
rm
-rf
/tmp/downloaded_packages/ /tmp/
*
.rds
\
&&
rm
-rf
/var/lib/apt/lists/
*
...
...
ai-box/requirements.txt
View file @
7e4c0cd3
...
...
@@ -39,3 +39,4 @@ oss2==2.5.0
zbarlight==2.1
imutils==0.5.1
seaborn==0.8.1
keras==2.2.4
ai-box/tensorflow-1.12.0-cp37-cp37m-linux_x86_64.whl
0 → 100644
View file @
7e4c0cd3
File added
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