It seems there is a change in the makefiles and building the image with a different version of Firmware fails.
Step 12/13 : RUN ["/bin/bash", "-c", " cd ${FIRMWARE_DIR} && DONT_RUN=1 make px4_sitl gazebo && DONT_RUN=1 make px4_sitl gazebo "]
---> Running in fd627ab6b07b
Makefile:378: *** "px4_sitl cannot be the first argument. Use 'make help|list_config_targets' to get a list of all possible [configuration] targets.". Stop.
The command '/bin/bash -c cd ${FIRMWARE_DIR} && DONT_RUN=1 make px4_sitl gazebo && DONT_RUN=1 make px4_sitl gazebo ' returned a non-zero code: 2
It seems there is a change in the makefiles and building the image with a different version of Firmware fails.