Unit testing development environment for Dr. Surly’s School for Mad Scientists Course #2
10K+
Unit testing environment with ARM cross compiler, Unity, CMock, Ceedling, and Qemu emulator
The project image is layered atop a base image. The project image contains the potentially changeable content of the testing tools and the project materials. If future content updates are necessary this produces a slim docker pull operation for students.
The base docker image contains the heavyweight, unchanging tools — gcc toolchain, Ruby, and our customized Qemu. All these are built from scratch or installed by package manager during image build. To limit the download size for students, this image should be squashed.
If the base image changes, it must be rebuilt first and then the project image must be rebuilt. If only the project image changes, only it must be rebuilt.
Because of the Docker --squash option, this image must be built locally, manually tagged, and pushed to Docker Hub. Automated Docker Hub builds do not support the --squash option.
./build/base/run.shdocker image tag throwtheswitch/drsurly-course2-base throwtheswitch/drsurly-course2-base:[tag]docker push throwtheswitch/drsurly-course2-base:[tag]./build/release/run.sh. Local builds are optional or for development work. Ultimately, this build is automated at Docker Hub for tagging and release, triggered by Github commits.docker run -it --rm -v <local project path>:/lab throwtheswitch/drsurly-course2[:tag]
Content type
Image
Digest
sha256:c0aba585b…
Size
356.8 MB
Last updated
9 days ago
docker pull throwtheswitch/drsurly-course2