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
bf3c4e0a
Commit
bf3c4e0a
authored
4 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
[ubuntu,jupyterhub] update python installation
parent
a1d8c920
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jupyterhub/base/Dockerfile
+12
-14
12 additions, 14 deletions
jupyterhub/base/Dockerfile
ubuntu/Dockerfile
+12
-10
12 additions, 10 deletions
ubuntu/Dockerfile
with
24 additions
and
24 deletions
jupyterhub/base/Dockerfile
+
12
−
14
View file @
bf3c4e0a
...
...
@@ -9,8 +9,6 @@ RUN apt-get update && \
curl
&&
\
apt-get clean
ENV
JUPYTERHUB_PYTHON_VERSION=3.8
RUN
curl
-sL
https://deb.nodesource.com/setup_10.x | bash -
&&
\
apt-get update
&&
\
apt-get
install
-y
\
...
...
@@ -20,31 +18,31 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
openjdk-11-jre-headless
&&
\
apt-get clean
RUN
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
\
RUN
python
${
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
\
jupyterlab
\
jupyterhub
\
ipympl
\
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
jupyter labextension
install
\
python
${
PYTHON_VERSION
}
-m
jupyter labextension
install
\
@jupyter-widgets/jupyterlab-manager
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
jupyter serverextension
enable
--sys-prefix
--py
jupyterlab
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
jupyter labextension
install
\
python
${
PYTHON_VERSION
}
-m
jupyter serverextension
enable
--sys-prefix
--py
jupyterlab
&&
\
python
${
PYTHON_VERSION
}
-m
jupyter labextension
install
\
jupyter-webrtc
\
ipyvolume
\
jupyter-threejs
\
jupyterlab-execute-time
\
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
jupyter labextension
install
@ryantam626/jupyterlab_code_formatter
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
jupyterlab_code_formatter
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
jupyter serverextension
enable
--sys-prefix
--py
jupyterlab_code_formatter
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
black isort
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
jupyterlab-git
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
jupyter lab build
python
${
PYTHON_VERSION
}
-m
jupyter labextension
install
@ryantam626/jupyterlab_code_formatter
&&
\
python
${
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
jupyterlab_code_formatter
&&
\
python
${
PYTHON_VERSION
}
-m
jupyter serverextension
enable
--sys-prefix
--py
jupyterlab_code_formatter
&&
\
python
${
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
black isort
&&
\
python
${
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
jupyterlab-git
&&
\
python
${
PYTHON_VERSION
}
-m
jupyter lab build
RUN
mkdir
-p
/usr/local/venv
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
venv /usr/local/venv/default
&&
\
python
${
PYTHON_VERSION
}
-m
venv /usr/local/venv/default
&&
\
.
/usr/local/venv/default/bin/activate
&&
\
python
${
JUPYTERHUB_
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
--upgrade
\
python
${
PYTHON_VERSION
}
-m
pip
--no-cache-dir
install
--upgrade
\
pip
==
${
PYTHON_PIP_VERSION
}
\
setuptools
==
${
PYTHON_SETUPTOOLS_VERSION
}
&&
\
pip
--no-cache-dir
install
tensorflow
==
1.15.3
&&
\
...
...
This diff is collapsed.
Click to expand it.
ubuntu/Dockerfile
+
12
−
10
View file @
bf3c4e0a
...
...
@@ -88,19 +88,21 @@ RUN apt-get update && \
&&
\
apt-get clean
RUN
apt-get
install
-y
\
python3.8
\
python3.8-dev
\
python3.8-venv
\
&&
\
apt-get clean
ADD
agki-nas01.imp.fu-berlin.de-ca-cert.crt /usr/local/share/ca-certificates/agki-nas01.imp.fu-berlin.de-ca-cert.crt
RUN
update-ca-certificates
COPY
pip.conf /etc/
ENV
PYTHON_VERSION=3.8
ENV
PYTHON_PIP_VERSION=20.2.3
ENV
PYTHON_SETUPTOOLS_VERSION=50.3.0
RUN
python3
-m
pip
install
--upgrade
\
pip
==
${
PYTHON_PIP_VERSION
}
\
setuptools
==
${
PYTHON_SETUPTOOLS_VERSION
}
RUN
apt-get
install
-y
\
python
${
PYTHON_VERSION
}
\
python
${
PYTHON_VERSION
}
-dev
\
python
${
PYTHON_VERSION
}
-venv
\
&&
\
apt-get clean
&&
\
python
${
PYTHON_VERSION
}
-m
pip
install
--upgrade
\
pip
==
${
PYTHON_PIP_VERSION
}
\
setuptools
==
${
PYTHON_SETUPTOOLS_VERSION
}
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