File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ LABEL ai.backend.kernelspec="1" \
19
19
ai.backend.resource.min.cuda.shares=0.1 \
20
20
ai.backend.base-distro="ubuntu16.04" \
21
21
ai.backend.runtime-type="matlab" \
22
- ai.backend.runtime-path="/usr/local/bin/matlab" \
23
- ai.backend.service-ports="vnc:tcp:5901,matlab:http:6080"
22
+ ai.backend.runtime-path="/usr/bin/python" \
23
+ ai.backend.service-ports="vnc:http:6080"
24
+
25
+ COPY bootstrap.sh /opt/container/bootstrap.sh
24
26
25
27
WORKDIR /home/work
26
28
# vim: ft=dockerfile
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ # reference: /bin/run.sh
3
+
4
+ SUEXEC=" /opt/kernel/su-exec $USER_ID :$GROUP_ID "
5
+
6
+ rm /opt/noVNC/index.html
7
+ ln -s /opt/noVNC/redirect.html /opt/noVNC/index.html
8
+
9
+ rm -rf /tmp/.X*
10
+
11
+ " $SUEXEC " /usr/bin/vncserver -geometry 1600x1200 > /dev/null 2>&1
12
+
13
+ # The next line is executed by the kernel runner's service port handler.
14
+ # "$SUEXEC" /opt/noVNC/utils/launch.sh --listen 6080 --vnc localhost:5901 > /dev/null 2>&1 &
You can’t perform that action at this time.
0 commit comments