A docker images that include some ARM's toolchains.
58
Use build_arm to run this image. build_arm is a docker build script use docker image cong2021/armenv. cong/2021/armenv provides some commonly used ARM's toolchains that build by ct-ng, You can use this image build your toolschain also.
build_arm scriptgit clone https://github.com/CONG2019/script.git
build_arm script to your working directorycp script/docker_env/build_arm your_work_dir; cd your_work_dir
# Download docker image
./build_arm -i
# Show help
./build_arm -h
# Check docker image is ok
./build_arm -m rpi0 "arm-linux-gcc -v"
gcc version 11.2.0 (crosstool-NG 1.25.0)
# Build hello world
./build_arm -m rpi0 'arm-linux-gcc main.c -o hello_world'
# Start docker first and then run command in docker
./build_arm -m rpi0 '/bin/bash'
run command
... ...
exit
# Build your toolchains
./build_arm '/bin/bash' # Start docker
ct-ng list-samples
ct-ng armv6-unknown-linux-gnueabihf
ct-ng menuconfig
ct-ng build
exit
Content type
Image
Digest
sha256:649ebaf33…
Size
2 GB
Last updated
over 3 years ago
docker pull cong2021/armenv