Issue template
- Hardware description: ESP32
- RTOS: freertos
- Installation type: .
- Version or commit hash: galactic
Steps to reproduce the issue
Put following two files (Dockerfile and bash_script.sh) into one folder and run docker build -t testcontainer . inside this folder.
Dockerfile:
FROM espressif/idf:release-v4.3
ENV DEBIAN_FRONTEND noninteractive
RUN echo "Set disable_coredump false" >> /etc/sudo.conf
RUN apt update -q && \
apt install -yq sudo lsb-release gosu nano && \
rm -rf /var/lib/apt/lists/*
ARG TZ_ARG=UTC
ENV TZ=$TZ_ARG
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY ./bash_script.sh /bash_script.sh
RUN mkdir -p /tmp/bash_script && mv /bash_script.sh /tmp/bash_script/ && \
/tmp/bash_script/bash_script.sh
bash_script.sh (don't forget to make this file executable with sudo chmod +x bash_script.sh):
#!/bin/bash
set -eu
sudo apt update -q
sudo apt install -yq python3-pip
source $IDF_PATH/export.sh
pip3 install catkin_pkg lark-parser empy colcon-common-extensions importlib-resources
git clone https://github.com/micro-ROS/micro_ros_espidf_component.git
cd micro_ros_espidf_component
sed -i 's/DRMW_UXRCE_TRANSPORT=udp/DRMW_UXRCE_TRANSPORT=custom/' colcon.meta
cd examples/int32_publisher_custom_transport
idf.py set-target esp32
idf.py build
set +u
Expected behavior
Build process finishes without errors.
Actual behavior
Build process fails. See attachment "output-int32_publisher_custom_transport.log".
output-int32_publisher_custom_transport.log
Additional information
As a check the "int32_publisher" example could be built without any error with this bash_script.sh:
#!/bin/bash
set -eu
sudo apt update -q
sudo apt install -yq python3-pip
source $IDF_PATH/export.sh
pip3 install catkin_pkg lark-parser empy colcon-common-extensions importlib-resources
git clone https://github.com/micro-ROS/micro_ros_espidf_component.git
cd micro_ros_espidf_component/examples/int32_publisher
idf.py set-target esp32
idf.py build
set +u
The output of this build process can be found in the attachment "output-int32_publisher.log"
output-int32_publisher.log
Issue template
Steps to reproduce the issue
Put following two files (Dockerfile and bash_script.sh) into one folder and run
docker build -t testcontainer .inside this folder.Dockerfile:
bash_script.sh (don't forget to make this file executable with
sudo chmod +x bash_script.sh):Expected behavior
Build process finishes without errors.
Actual behavior
Build process fails. See attachment "output-int32_publisher_custom_transport.log".
output-int32_publisher_custom_transport.log
Additional information
As a check the "int32_publisher" example could be built without any error with this bash_script.sh:
The output of this build process can be found in the attachment "output-int32_publisher.log"
output-int32_publisher.log