docker build environment

nRF NCS 3.0.x

Target : nrf5340dk or native_sim

What is the latest recommendation on build environment (assuming preference is a docker image for consistency of build env among the team)?

Ideally I want a docker image that can do it all: build samples, support real and simulated targets (qemu, nrf5340, native_sim, etc.), run unit tests, and run build pipelines. 

I see currently 2 options:
1- nRF NCS's recommendation (this fails when building helloworld sample for native_sim, but it works for other targets) - so got me wondering if it is still the recommended way?

https://docs.nordicsemi.com/bundle/ncs-3.0.1/page/nrf/scripts/docker/README.html#building_image

e.g ghcr.io/nrfconnect/sdk-nrf-toolchain:v3.0.2

2- Zephyr's own docker image - broken into 3 flavors (ci-base, ci, zephyr-base):

https://github.com/zephyrproject-rtos/docker-image

which way is the current recommended way?

Parents Reply Children
No Data
Related