Sign inSign up

cong2021/armenv

By cong2021

•Updated over 3 years ago

A docker images that include some ARM's toolchains.

Image
0

58

cong2021/armenv repository overview

⁠How to start ?

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.

  1. Download build_arm script
git clone https://github.com/CONG2019/script.git
  1. Copy build_arm script to your working directory
cp script/docker_env/build_arm your_work_dir; cd your_work_dir
  1. Start with build_arm
# 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

Tag summary

Content type

Image

Digest

sha256:649ebaf33…

Size

2 GB

Last updated

over 3 years ago

docker pull cong2021/armenv