mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-13 11:29:12 +08:00
24 lines
940 B
Docker
24 lines
940 B
Docker
FROM paparazziuav/pprz-dep
|
|
LABEL maintainer="felix.ruess@gmail.com"
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
|
ENV PATH $HOME/.cargo/bin:$PATH
|
|
RUN /bin/bash -c "source $HOME/.cargo/env; \
|
|
rustup target add thumbv7em-none-eabihf; \
|
|
rustup target add x86_64-unknown-linux-gnu"
|
|
|
|
RUN curl -sSL https://packages.osrfoundation.org/gazebo.gpg \
|
|
-o /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
|
|
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] \
|
|
https://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" \
|
|
> /etc/apt/sources.list.d/gazebo-stable.list
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
|
|
g++-arm-linux-gnueabi \
|
|
gz-harmonic \
|
|
rustc cargo \
|
|
python3-lxml \
|
|
python3-empy \
|
|
python3-pexpect \
|
|
&& rm -rf /var/lib/apt/lists/*
|