Skip to content

Commit bf16c2e

Browse files
committed
chore: change base image to debian-slim
1 parent 7c9123a commit bf16c2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/bitnami/minideb:trixie
1+
FROM docker.io/debian:trixie-slim
22

33
# User
44
ARG userid=1000
@@ -18,7 +18,7 @@ ENV LOGS_DIR="${ROOT_DIR}"/logs
1818
USER root
1919

2020
# Android build dependencies
21-
RUN install_packages \
21+
RUN DEBIAN_FRONTEND=noninteractive apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
2222
bc \
2323
bison \
2424
build-essential \
@@ -63,6 +63,8 @@ RUN install_packages \
6363
jq \
6464
unzip
6565

66+
RUN rm --recursive /var/lib/apt/lists /var/cache/apt/archives
67+
6668
# Symlink libncurses for compatibility
6769
RUN ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6 /usr/lib/x86_64-linux-gnu/libncurses.so.5
6870
RUN ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5

0 commit comments

Comments
 (0)