32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
apt-get update && apt-get install -y locales
|
|
locale-gen en_US en_US.UTF-8
|
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
|
export LANG=en_US.UTF-8
|
|
|
|
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
|
|
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu jammy main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
|
|
|
|
apt-get update && apt-get install -y --no-install-recommends \
|
|
ros-humble-desktop \
|
|
ros-dev-tools \
|
|
python3-colcon-common-extensions \
|
|
python3-flake8-docstrings \
|
|
python3-pip \
|
|
python3-pytest-cov \
|
|
ros-dev-tools \
|
|
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 \
|
|
ros-humble-rmw-cyclonedds-cpp \
|
|
ros-humble-rosidl-generator-dds-idl |