-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 882 Bytes
/
Dockerfile
File metadata and controls
21 lines (17 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:24.04
ENV ARCH=arm64
ENV CROSS_COMPILE=aarch64-linux-gnu-
ARG DEBIAN_FRONTEND=noninteractive
COPY generate_bins.sh /usr/bin
RUN apt-get update && apt-get install -y apt-utils
RUN apt-get install -y build-essential zip git clang-15 lld-15 flex bison bc libssl-dev curl kmod systemd-ukify rsync mtools dosfstools lavacli && \
apt-get install -y gcc-aarch64-linux-gnu && \
apt-get install -y python3-pip swig yamllint && \
apt install -y python3-setuptools python3-wheel && \
apt install -y pipx && \
apt-get install -y yq && \
pipx install dtschema && \
curl "https://android.googlesource.com/platform/system/tools/mkbootimg/+/refs/heads/android12-release/mkbootimg.py?format=TEXT" | base64 --decode > /usr/bin/mkbootimg && \
chmod +x /usr/bin/mkbootimg && \
chmod 755 /usr/bin/generate_bins.sh && \
rm -rf /var/lib/apt/lists/*