Skip to content

Commit 034cecf

Browse files
committed
arm dockerfile fix
1 parent 2557a5e commit 034cecf

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.docker/jazzy.arm64v8.dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ RUN apt update && apt full-upgrade -y && apt autoremove -y
9090

9191
# Install ROS-Gazebo framework
9292
ADD https://raw.githubusercontent.com/IOES-Lab/dave/$BRANCH/\
93-
extras/ros-jazzy-binary-gz-harmonic-source-install.sh install.sh
93+
extras/ros-jazzy-gz-harmonic-install.sh install.sh
9494
RUN bash install.sh
9595

9696
# Prereqs for Ardupilot - Ardusub
@@ -108,9 +108,12 @@ RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pk
108108
gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-gl \
109109
&& rm -rf /var/lib/apt/lists/
110110
# Install mavros
111-
ADD https://raw.githubusercontent.com/IOES-Lab/dave/$BRANCH/\
112-
extras/mavros-ubuntu-install.sh install.sh
113-
RUN bash install.sh
111+
RUN apt-get update && \
112+
apt-get -y install --no-install-recommends ros-jazzy-mavros* \
113+
&& rm -rf /tmp/*
114+
WORKDIR /opt/mavros_ws
115+
RUN wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh && \
116+
bash ./install_geographiclib_datasets.sh
114117

115118
# Download the background image from GitHub raw content URL
116119
# hadolint ignore=DL3047

0 commit comments

Comments
 (0)