forked from dreemurrs-embedded/Jumpdrive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
51 lines (47 loc) · 1.06 KB
/
Dockerfile
File metadata and controls
51 lines (47 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM ubuntu:22.04
# Avoid interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install build dependencies (matching GitHub Actions workflow + extras from Makefile)
RUN apt-get update && apt-get install -y \
# Cross-compilation toolchain
gcc-aarch64-linux-gnu \
g++-aarch64-linux-gnu \
# U-Boot tools (mkimage)
u-boot-tools \
# FAT filesystem tools (mcopy, mmd)
mtools \
# Disk partitioning
parted \
# FAT filesystem creation
dosfstools \
# Build essentials
make \
bc \
bison \
flex \
libssl-dev \
# Archive/compression tools
xz-utils \
gzip \
bzip2 \
cpio \
# Downloading sources
wget \
# Patching
patch \
# Android boot image tools
android-sdk-libsparse-utils \
mkbootimg \
# Misc
ca-certificates \
# Python for U-Boot pylibfdt
python3 \
python3-dev \
python3-distutils \
python3-setuptools \
swig \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /build
# Default command
CMD ["make"]