diff --git a/Dockerfile b/Dockerfile index 0456a60..a0741d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,44 +1,7 @@ FROM ros:humble-ros-base-jammy -RUN sudo apt update && apt install python3-pip -y && echo "" >> /root/.bashrc && pip3 install -U PlatformIO \ -&& pio pkg install --global --platform "platformio/espressif32" \ -&& pio pkg install --global --tool "platformio/contrib-piohome" \ -&& pio pkg install --global --tool "platformio/framework-arduinoespressif32" \ -&& pio pkg install --global --tool "platformio/tool-scons" \ -&& pio pkg install --global --tool "platformio/tool-mkfatfs" \ -&& pio pkg install --global --tool "platformio/tool-mkspiffs" \ -&& pio pkg install --global --tool "platformio/tool-mklittlefs" - -RUN sudo apt update && apt install ros-humble-ros-base -y - -RUN sudo apt update && sudo apt install -y \ - build-essential \ - cmake \ - git \ - python3-colcon-common-extensions \ - python3-flake8 \ - python3-flake8-docstrings \ - python3-pip \ - python3-pytest \ - python3-pytest-cov \ - python3-rosdep \ - python3-setuptools \ - python3-vcstool \ - wget \ - libacl1-dev - - -RUN sudo apt install -y \ - python3-flake8-blind-except \ - python3-flake8-builtins \ - python3-flake8-class-newline \ - python3-flake8-comprehensions \ - python3-flake8-deprecated \ - python3-flake8-import-order \ - python3-flake8-quotes \ - python3-pytest-repeat \ - python3-pytest-rerunfailures +RUN sudo apt update && apt install python3-pip python3-penv -y && echo "" >> /root/.bashrc && pip3 install -U PlatformIO RUN echo "" >> /root/.bashrc && echo "source /opt/ros/humble/setup.bash" >> /root/.bashrc diff --git a/release.sh b/release.sh index f443e1a..5983e3c 100644 --- a/release.sh +++ b/release.sh @@ -1,4 +1,5 @@ source /opt/ros/humble/setup.bash +link -s /opt/ros/humble/setup.bash /github/home/.platformio/penv/bin/activate pio run rm -rf .pio/libdeps/featheresp32/micro_ros_platformio pio run \ No newline at end of file