-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8edf4b0
commit c0a1da7
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM ubuntu:22.04 | ||
|
||
RUN mkdir /workdir && \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests \ | ||
make xz-utils wget git python3 python3-pip | ||
|
||
RUN wget -O archive.tar.xz "https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz" && \ | ||
tar xf archive.tar.xz -C /opt && \ | ||
rm archive.tar.xz | ||
|
||
ENV PATH=/opt/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin:$PATH | ||
|
||
WORKDIR /workdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
An Ubuntu image with ARM gcc compiler. | ||
|
||
Version of GCC is [12.2.rel1](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads/12-2-rel1). | ||
The container is specifically created for building of Blackmagic Debug probe firmware, which requires this particular version of GCC. | ||
Also for this reason, `python3` and `pip` are included, so that `meson` can be installed manually if needed. | ||
|
||
The compiler is in `/opt/` (and also in `$PATH`), workdir is `/workdir`. |