Files
devenv/cross_compile/Dockerfile.cc_base
T
EricX-Zhao c15a3552ae init commit
2026-02-11 17:54:06 +03:00

39 lines
1.2 KiB
Docker

FROM ubuntu:22.04 AS cc_base
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
build-essential \
wget \
git \
python3 \
software-properties-common \
curl \
pkg-config \
vim \
&& add-apt-repository universe \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
RUN apt update && apt install -y \
python3-flake8-blind-except \
python3-flake8-class-newline \
python3-flake8-deprecated \
python3-mypy \
python3-pip \
python3-future \
python3-pytest \
python3-pytest-cov \
python3-pytest-mock \
python3-pytest-repeat \
python3-pytest-rerunfailures \
python3-pytest-runner \
python3-pytest-timeout \
python3-future \
python3-argcomplete \
autoconf automake libtool patchelf ninja-build python3.10-venv \
ros-dev-tools