Skip to content

fix(ci): make dockerfile build again

Jonas Thelemann requested to merge flipdot/fluepdot:fix/dockerfile/main into master

The main Dockerfile should build successfully again using the changes proposed in this MR.

The secondary Dockerfile does not build successfully yet. At least the following cmake error regarding idf_component_manager remains to be fixed:

7.320 Python requirements are satisfied.
7.333 Constraint file: /esp/.espressif/espidf.constraints.v5.3.txt
7.333 Requirement files:
7.333  - /esp/esp-idf/tools/requirements/requirements.core.txt
7.333 Python being checked: /esp/.espressif/python_env/idf5.3_py3.11_env/bin/python
7.450 CMake Error at /esp/esp-idf/tools/cmake/build.cmake:544 (message):
7.450   /usr/sbin/python: Error while finding module specification for
7.450   'idf_component_manager.prepare_components' (ModuleNotFoundError: No module
7.450   named 'idf_component_manager')
7.450 
7.450 Call Stack (most recent call first):
7.450   /esp/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
7.450   CMakeLists.txt:10 (project)
7.450 
7.450 
7.451 -- Configuring incomplete, errors occurred!
------
Dockerfile.build:10
--------------------
   8 |     RUN make -j -C fonts
   9 |     WORKDIR /fluepdot/software/firmware
  10 | >>> RUN cmake .
  11 |     RUN make all -j
  12 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cmake ." did not complete successfully: exit code: 1

Merge request reports