Files
dockerized-bb/toolchains/devkitarm/Dockerfile.m4
T
Le Philousophe 23955ec5e2 ALL: Rework toolchain start to use a specific Debian version
A M4 header is used which is common to all toolchains.
This enforce that every platform will use the same base.

For workers it was already the case, just specify the version.
2021-01-31 16:07:12 +01:00

35 lines
944 B
Docker

m4_define(`DEVKITARM_VERSION',20200730)
# This version of devkitARM depends on a Debian Stretch
# For now it works with stable-slim, 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 \
curl \
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