Skip to content

Commit

Permalink
packaging: Change build dockerfiles
Browse files Browse the repository at this point in the history
- build-pre-env: Install rust compiler
- sitl: update base image
  • Loading branch information
jnippula committed Aug 8, 2024
1 parent 09b4804 commit de5281d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
3 changes: 3 additions & 0 deletions packaging/Dockerfile.build_env_pre
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

RUN mkdir -p /tools

# Install Rust compiler
RUN curl https://sh.rustup.rs -sSf | sh

RUN curl -LOs https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz && \
tar xf riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz -C /tools && \
rm -f riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
Expand Down
17 changes: 3 additions & 14 deletions packaging/Dockerfile.sitl
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
FROM ghcr.io/tiiuae/fog-ros-baseimage-builder:v2.1.0
FROM ghcr.io/tiiuae/fog-ros-baseimage-builder:v3.3.0

RUN apt-get update && apt-get install -y --no-install-recommends \
wget
RUN curl http://packages.osrfoundation.org/gazebo.key | apt-key add -
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 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 apt-get update && apt-get install -y --no-install-recommends \
libignition-transport8-dev \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get update && apt-get install -y --no-install-recommends \
wget

RUN 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 apt-get update && apt-get install -y --no-install-recommends \
libignition-transport8-dev \
&& rm -rf /var/lib/apt/lists/*

# Install PX4 SITL
WORKDIR /packages

Expand Down

0 comments on commit de5281d

Please sign in to comment.