Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
robofish
docker
Commits
dc64fd0c
Commit
dc64fd0c
authored
4 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
[jupyterhub] add venv&kernel for tensorflow 2
parent
6faf6393
No related branches found
No related tags found
No related merge requests found
Pipeline
#33387
passed
4 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jupyterhub/base/Dockerfile
+36
-1
36 additions, 1 deletion
jupyterhub/base/Dockerfile
with
36 additions
and
1 deletion
jupyterhub/base/Dockerfile
+
36
−
1
View file @
dc64fd0c
...
@@ -85,7 +85,42 @@ RUN mkdir -p /usr/local/venv && \
...
@@ -85,7 +85,42 @@ RUN mkdir -p /usr/local/venv && \
neo
\
neo
\
'mxnet-cu101>=1.6.0,<1.7.0'
\
'mxnet-cu101>=1.6.0,<1.7.0'
\
&&
\
&&
\
ipython kernel
install
--name
=
default
ipython kernel
install
--name
=
default
--display-name
"Python (Default)"
RUN
mkdir
-p
/usr/local/venv
&&
\
python
${
PYTHON_VERSION
}
-m
venv /usr/local/venv/tf2
&&
\
.
/usr/local/venv/tf2/bin/activate
&&
\
python
${
PYTHON_VERSION
}
-m
pip
install
--upgrade
\
pip
==
${
PYTHON_PIP_VERSION
}
\
setuptools
==
${
PYTHON_SETUPTOOLS_VERSION
}
&&
\
pip
install
tensorflow
==
2.3.1
&&
\
pip
install
\
wheel
\
black
\
isort
\
pandas
\
scipy
\
pingouin
\
statsmodels
\
matplotlib
\
seaborn
\
brokenaxes
\
tables
\
xlrd
\
hsluv
\
ipympl
\
ipywebrtc
\
ipyvolume
\
JPype1
\
PySide2
\
ipykernel
\
tqdm
\
sklearn
\
ffmpeg-python
\
neo
\
'mxnet-cu101>=1.6.0,<1.7.0'
\
&&
\
ipython kernel
install
--name
=
tf2
--display-name
"Python (TensorFlow 2)"
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
\
apt-get
install
-y
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment