File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:18 .04
1
+ FROM ubuntu:20 .04
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y \
5
- ca-certificates \
6
- wget curl git-core \
7
- vim-tiny zip unzip \
8
- python3 python3-pip \
9
- libssl-dev \
10
- libmpdec2 \
11
- proj-bin libproj-dev \
12
- libgeos-dev libgeos++-dev \
13
- mime-support \
14
- gcc g++ && \
5
+ ncurses-term && \
15
6
apt-get clean && \
16
7
rm -rf /var/lib/apt/lists/
17
-
8
+ RUN ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color
18
9
ENV PYTHONUNBUFFERED=1 \
19
10
PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
20
11
LANG=C.UTF-8
@@ -29,9 +20,9 @@ LABEL ai.backend.kernelspec="1" \
29
20
ai.backend.features="batch query uid-match user-input" \
30
21
ai.backend.resource.min.cpu="1" \
31
22
ai.backend.resource.min.mem="256m" \
32
- ai.backend.base-distro="ubuntu18 .04" \
33
- ai.backend.runtime-type="python " \
34
- ai.backend.runtime-path="/usr/bin/python3 " \
23
+ ai.backend.base-distro="ubuntu20 .04" \
24
+ ai.backend.runtime-type="app " \
25
+ ai.backend.runtime-path="/usr/bin/filebrowser " \
35
26
ai.backend.service-ports="filebrowser:http:8080"
36
27
COPY policy.yml /etc/backend.ai/jail/policy.yml
37
28
You can’t perform that action at this time.
0 commit comments