FROM px4io/px4-dev-simulation-focal COPY --link --from=git.spirirobotics.com/spiri/gazebo-resources:latest /models /usr/share/gazebo-11/models/ COPY --link --from=git.spirirobotics.com/spiri/gazebo-resources:latest /worlds /usr/share/gazebo-11/worlds/ COPY --link --from=git.spirirobotics.com/spiri/gazebo-resources:latest /plugins /usr/lib/x86_64-linux-gnu/gazebo-11/plugins RUN apt-get update && apt-get upgrade --yes #Install base packages for distrobox # RUN apt-get install --yes bc bzip2 chpasswd curl diff find findmnt gpg hostname less lsof man mount passwd pigz pinentry ping ps rsync script ssh sudo time tree umount unzip useradd wc wget xauth zip WORKDIR /opt/spiri-sdk RUN git clone --depth 1 -b v1.15.0-beta1 https://github.com/PX4/PX4-Autopilot.git --recursive WORKDIR /opt/spiri-sdk/PX4-Autopilot/ RUN DONT_RUN=1 make px4_sitl gazebo-classic #This should be the first real user created and the `users` group on most linux distros RUN chown -R 1000:100 /opt/spiri-sdk #Install our desktop environment last RUN apt-get install --yes lxqt