Skip to content

Commit 94bb37a

Browse files
committed
update: python kernel to ubuntu 18.04
1 parent 199f148 commit 94bb37a

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

python/Dockerfile.3.6-ubuntu18.04

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ LABEL ai.backend.kernelspec="1" \
5050
ai.backend.features="batch query uid-match user-input" \
5151
ai.backend.resource.min.cpu="1" \
5252
ai.backend.resource.min.mem="256m" \
53-
ai.backend.base-distro="ubuntu16.04" \
53+
ai.backend.base-distro="ubuntu18.04" \
5454
ai.backend.runtime-type="python" \
5555
ai.backend.runtime-path="/usr/bin/python3" \
56-
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8080,vscode:http:8180,jupyterlab:http:8090"
56+
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8070,vscode:http:8180,jupyterlab:http:8090"
5757

5858
COPY ./service-defs /etc/backend.ai/service-defs
5959
COPY policy.yml /etc/backend.ai/jail/policy.yml

python/Dockerfile.3.7-ubuntu18.04

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ LABEL ai.backend.kernelspec="1" \
6161
ai.backend.features="batch query uid-match user-input" \
6262
ai.backend.resource.min.cpu="1" \
6363
ai.backend.resource.min.mem="256m" \
64-
ai.backend.base-distro="ubuntu16.04" \
64+
ai.backend.base-distro="ubuntu18.04" \
6565
ai.backend.runtime-type="python" \
6666
ai.backend.runtime-path="/usr/bin/python3" \
67-
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8080,jupyterlab:http:8090"
67+
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8070,jupyterlab:http:8090"
6868
COPY policy.yml /etc/backend.ai/jail/policy.yml
6969

7070
# vim: ft=dockerfile

python/Dockerfile.3.8-ubuntu18.04

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,19 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
5454
RUN python3.8 -m ipykernel install --display-name "Python 3.8 on Backend.AI" && \
5555
cat /usr/local/share/jupyter/kernels/python3/kernel.json
5656

57+
COPY bootstrap.sh /opt/container/bootstrap.sh
58+
5759
# Backend.AI specifics
5860
COPY ./service-defs /etc/backend.ai/service-defs
5961
LABEL ai.backend.kernelspec="1" \
6062
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
6163
ai.backend.features="batch query uid-match user-input" \
6264
ai.backend.resource.min.cpu="1" \
6365
ai.backend.resource.min.mem="256m" \
64-
ai.backend.base-distro="ubuntu16.04" \
66+
ai.backend.base-distro="ubuntu18.04" \
6567
ai.backend.runtime-type="python" \
6668
ai.backend.runtime-path="/usr/bin/python3" \
67-
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8080,jupyterlab:http:8090"
69+
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8070,jupyterlab:http:8090"
6870
COPY policy.yml /etc/backend.ai/jail/policy.yml
6971

7072
# vim: ft=dockerfile

0 commit comments

Comments
 (0)