-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile.m4
33 lines (26 loc) · 936 Bytes
/
Dockerfile.m4
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
m4_define(`DEVKITARM_VERSION',20241104)
# This version of devkitARM depends on a Debian Bullseye
# For now it works with our version, we will have to ensure it stays like that
FROM devkitpro/devkitarm:DEVKITARM_VERSION AS original-toolchain
m4_include(`paths.m4')m4_dnl
m4_include(`packages.m4')m4_dnl
m4_dnl Include Debian base preparation steps
m4_dnl This ensures all common steps are shared by all toolchains
m4_include(`debian-toolchain-base.m4')m4_dnl
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
bzip2 \
ca-certificates \
gnupg \
libxml2 \
make \
pkg-config \
xz-utils \
&& \
rm -rf /var/lib/apt/lists/*
ENV DEVKITPRO=/opt/devkitpro
ENV DEVKITARM=${DEVKITPRO}/devkitARM
# Copy ARM toolchain
COPY --from=original-toolchain ${DEVKITPRO}/ ${DEVKITPRO}
# All devkit libraries got installed
# Libraries will be built separately in NDS and 3DS toolchains