https://github.com/leoliu0605/docker-arm-none-eabi-gcc
Docker images for arm-none-eabi-gcc with both x86_64 and ARM64 platforms.
https://github.com/leoliu0605/docker-arm-none-eabi-gcc
arm-none-eabi arm-none-eabi-gcc arm64 docker docker-image gcc gcc-arm x86 x86-64
Last synced: 3 months ago
JSON representation
Docker images for arm-none-eabi-gcc with both x86_64 and ARM64 platforms.
- Host: GitHub
- URL: https://github.com/leoliu0605/docker-arm-none-eabi-gcc
- Owner: leoliu0605
- License: mit
- Created: 2023-11-07T14:26:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T00:18:55.000Z (over 1 year ago)
- Last Synced: 2025-08-29T21:59:00.215Z (10 months ago)
- Topics: arm-none-eabi, arm-none-eabi-gcc, arm64, docker, docker-image, gcc, gcc-arm, x86, x86-64
- Language: TypeScript
- Homepage: https://hub.docker.com/r/jafee201153/arm-none-eabi-gcc
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/leoli0605/docker-arm-none-eabi-gcc/actions/workflows/publish.yml)
[](https://hub.docker.com/r/jafee201153/arm-none-eabi-gcc/)
[](https://hub.docker.com/r/jafee201153/arm-none-eabi-gcc/)
# [arm-none-eabi-gcc (docker image)](https://hub.docker.com/r/jafee201153/arm-none-eabi-gcc)
Let's build your project with `arm-none-eabi-gcc` in a docker container.
## Features
- Based on `ubuntu` (supports `20.04`, `22.04`, and `24.04`)
- `ubuntu:24.04` is used as the base image for the `latest` tag
- `git` and `make` are pre-installed
- Environment variables
- `TZ`: Timezone, default is `Asia/Taipei`
- `USER_NAME`: User name
- `USER_UID`: User ID
- `USER_GID`: Group ID
## Usage
```bash
# Running as root user
GCC_VERSION=latest \
HOST_TZ=$(cat /etc/timezone) \
docker run -it --rm \
-e TZ=$HOST_TZ \
-v "$(pwd)":/share \
-w /share \
jafee201153/arm-none-eabi-gcc:$GCC_VERSION /bin/bash
```
```bash
# Running as non-root user
GCC_VERSION=latest \
HOST_TZ=$(cat /etc/timezone) \
USER_NAME=$(whoami) \
USER_UID=$(id -u $USER_NAME) \
USER_GID=$(id -g $USER_NAME) \
docker run -it --rm \
-e TZ=$HOST_TZ \
-e USER_NAME=$USER_NAME \
-e USER_UID=$USER_UID \
-e USER_GID=$USER_GID \
-v "$(pwd)":/home/$USER_NAME/share \
-w /home/$USER_NAME/share \
jafee201153/arm-none-eabi-gcc:$GCC_VERSION /bin/bash
```
## Example
```bash
# Build the project
GCC_VERSION=latest \
HOST_TZ=$(cat /etc/timezone) \
USER_NAME=$(whoami) \
USER_UID=$(id -u $USER_NAME) \
USER_GID=$(id -g $USER_NAME) \
docker run -it --rm \
-e TZ=$HOST_TZ \
-e USER_NAME=$USER_NAME \
-e USER_UID=$USER_UID \
-e USER_GID=$USER_GID \
-v "$(pwd)":/home/$USER_NAME/share \
-w /home/$USER_NAME/share \
jafee201153/arm-none-eabi-gcc:$GCC_VERSION /bin/bash \
-c "make clean && make all"
```
## Support
If you encounter any issues or have suggestions, please [open an issue](https://github.com/leoli0605/docker-arm-none-eabi-gcc/issues) on our GitHub repository.