mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[docker] properly export PATH
This commit is contained in:
@@ -4,9 +4,9 @@ LABEL maintainer="felix.ruess@gmail.com"
|
||||
RUN sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
|
||||
RUN wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
||||
RUN /bin/bash -c "source $HOME/.cargo/env; \
|
||||
rustup target add thumbv7em-none-eabihf; \
|
||||
rustup target add x86_64-unknown-linux-gnu"
|
||||
ENV PATH $HOME/.cargo/bin:$PATH
|
||||
RUN rustup target add thumbv7em-none-eabihf
|
||||
RUN rustup target add x86_64-unknown-linux-gnu
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
|
||||
g++-arm-linux-gnueabi \
|
||||
|
||||
Reference in New Issue
Block a user