diff --git a/linux_docker_resources/Dockerfile b/linux_docker_resources/Dockerfile index 6b29f959f..14f9a6fbe 100644 --- a/linux_docker_resources/Dockerfile +++ b/linux_docker_resources/Dockerfile @@ -37,7 +37,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y build-essential RUN if test ${UBUNTU_DISTRO} != xenial; then apt-get update && apt-get install --no-install-recommends -y python3-lark-parser; fi # Install build and test dependencies of ROS 2 packages. -RUN apt-get update && apt-get install --no-install-recommends -y clang-format cppcheck git libxml2-utils pydocstyle pyflakes python3-coverage python3-flake8 python3-mock python3-nose python3-pep8 python3-pyparsing python3-yaml uncrustify +RUN apt-get update && apt-get install --no-install-recommends -y clang-format cppcheck git libxml2-dev libxml2-utils libxslt-dev pydocstyle pyflakes python3-coverage python3-flake8 python3-lxml python3-mock python3-nose python3-pep8 python3-pyparsing python3-yaml uncrustify # Install and self update pip/setuptools to the latest version. RUN apt-get update && apt-get install --no-install-recommends -y python3-pip diff --git a/ros2_batch_job/__main__.py b/ros2_batch_job/__main__.py index ac7724b06..f8968e183 100644 --- a/ros2_batch_job/__main__.py +++ b/ros2_batch_job/__main__.py @@ -74,6 +74,11 @@ 'pyyaml', 'vcstool', ] +if sys.platform in ('darwin', 'win32'): + pip_dependencies += [ + 'lxml' + ] + colcon_packages = [ 'colcon-core', 'colcon-defaults',