File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM movesrwth/stormpy:1.7 .0
1
+ FROM movesrwth/stormpy:1.8 .0
2
2
MAINTAINER Matthias Volk <
[email protected] >
3
3
4
4
5
5
# #########
6
6
# Create user
7
7
# #########
8
8
9
+ # Ubuntu base image already uses UID/GID 1000
10
+ # Change it so the Binder user can use 1000
11
+ RUN usermod -u 1001 ubuntu
12
+ RUN groupmod -g 1001 ubuntu
13
+
9
14
ARG NB_USER=jovyan
10
15
ARG NB_UID=1000
11
16
ENV USER ${NB_USER}
@@ -17,16 +22,24 @@ RUN adduser --disabled-password \
17
22
--uid ${NB_UID} \
18
23
${NB_USER}
19
24
25
+ # Change the owner of the virtual environment
26
+ WORKDIR /opt
27
+ USER root
28
+ RUN chown -R ${NB_UID} venv
29
+ USER ${NB_USER}
20
30
21
31
# #########
22
32
# Install dependencies
23
33
# #########
24
34
25
35
# Jupyter notebook and Jupyterlab
26
- RUN pip install --no-cache-dir notebook==6.4.12
27
- RUN pip install --no-cache-dir jupyterlab==3.4.4
36
+ RUN pip install --no-cache-dir notebook==6.5.4
37
+ RUN pip install --no-cache-dir jupyterlab==4.0.2
38
+ # Use older version of jupyter-server to avoid issue with token
39
+ # see https://github.com/jupyter/notebook/issues/6702#issuecomment-1412832225
40
+ RUN pip install --no-cache-dir jupyter-server==1.24.0
28
41
# Dependencies for stormpy
29
- RUN pip install --no-cache-dir numpy==1.23.1
42
+ RUN pip install --no-cache-dir numpy==1.24.3
30
43
31
44
# #########
32
45
# Prepare files for notebooks
You can’t perform that action at this time.
0 commit comments