Skip to content

Commit 44f36a8

Browse files
committed
feat: diet image size into 109M (#113)
1 parent 41efb49 commit 44f36a8

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

filebrowser/Dockerfile.21.01-ubuntu20.04

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:20.04
22

33
RUN apt-get update && \
44
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 && \
156
apt-get clean && \
167
rm -rf /var/lib/apt/lists/
17-
8+
RUN ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color
189
ENV PYTHONUNBUFFERED=1 \
1910
PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
2011
LANG=C.UTF-8
@@ -29,9 +20,9 @@ LABEL ai.backend.kernelspec="1" \
2920
ai.backend.features="batch query uid-match user-input" \
3021
ai.backend.resource.min.cpu="1" \
3122
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" \
3526
ai.backend.service-ports="filebrowser:http:8080"
3627
COPY policy.yml /etc/backend.ai/jail/policy.yml
3728

0 commit comments

Comments
 (0)