spiri-sdk-desktop (sha256:a4a4d645ddefeb5cc567c431e65200cfa2e4991de77b6aef7a4665dfbb67b66f)

Published 2024-06-11 13:37:30 -03:00 by spiri-buildbot

Installation

docker pull git.spirirobotics.com/spiri/spiri-sdk-desktop@sha256:a4a4d645ddefeb5cc567c431e65200cfa2e4991de77b6aef7a4665dfbb67b66f
sha256:a4a4d645ddefeb5cc567c431e65200cfa2e4991de77b6aef7a4665dfbb67b66f

About this package

Spiri-sdk-desktop takes several spiri components and brings them all together.

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=20.04
ADD file:e5742fae181dc02a419e48d202fdd6a561b79ccbe7d3415e15e3d2c12e444a2a in /
CMD ["/bin/bash"]
LABEL maintainer=Daniel Agar <daniel@agar.ca>
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN /bin/sh -c apt-get update && apt-get -y --quiet --no-install-recommends install bzip2 ca-certificates ccache cmake cppcheck curl dirmngr doxygen file g++ gcc gdb git gnupg gosu lcov libfreetype6-dev libgtest-dev libpng-dev libssl-dev lsb-release make ninja-build openjdk-8-jdk openjdk-8-jre openssh-client pkg-config python3-dev python3-pip rsync shellcheck tzdata unzip valgrind wget xsltproc zip && apt-get -y autoremove && apt-get clean autoclean && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/* # buildkit
RUN /bin/sh -c cd /usr/src/gtest && mkdir build && cd build && cmake .. && make -j$(nproc) && find . -name \*.a -exec cp {} /usr/lib \; && cd .. && rm -rf build # buildkit
RUN /bin/sh -c python3 -m pip install --upgrade pip wheel setuptools # buildkit
RUN /bin/sh -c python3 -m pip install argparse argcomplete coverage cerberus empy==3.3.4 jinja2 kconfiglib matplotlib==3.0.* numpy nunavut>=1.1.0 packaging pkgconfig pyros-genmsg pyulog pyyaml requests serial six toml psutil pyulog wheel jsonschema pynacl # buildkit
RUN /bin/sh -c ln -s /usr/bin/ccache /usr/lib/ccache/cc && ln -s /usr/bin/ccache /usr/lib/ccache/c++ # buildkit
RUN /bin/sh -c wget -q https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.1/astyle_3.1_linux.tar.gz -O /tmp/astyle.tar.gz && cd /tmp && tar zxf astyle.tar.gz && cd astyle/src && make -f ../build/gcc/Makefile -j$(nproc) && cp bin/astyle /usr/local/bin && rm -rf /tmp/* # buildkit
RUN /bin/sh -c useradd --shell /bin/bash -u 1001 -c "" -m user && usermod -a -G dialout user # buildkit
RUN /bin/sh -c mkdir /tmp/.X11-unix && chmod 1777 /tmp/.X11-unix && chown -R root:root /tmp/.X11-unix # buildkit
ENV DISPLAY=:99
ENV CCACHE_UMASK=000
ENV PATH=/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV TERM=xterm
ENV TZ=UTC
EXPOSE map[14556/udp:{}]
EXPOSE map[14557/udp:{}]
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["/bin/bash"]
LABEL maintainer=Nuno Marques <nuno.marques@dronesolutions.io>
RUN /bin/sh -c wget 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] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install ant binutils bc dirmngr gazebo11 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly libeigen3-dev libgazebo11-dev libgstreamer-plugins-base1.0-dev libimage-exiftool-perl libopencv-dev libxml2-utils mesa-utils protobuf-compiler x-window-system ignition-fortress && apt-get -y autoremove && apt-get clean autoclean && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/* # buildkit
ENV QT_X11_NO_MITSHM=1
ENV JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
RUN /bin/sh -c wget https://github.com/JSBSim-Team/jsbsim/releases/download/v1.1.1a/JSBSim-devel_1.1.1-134.focal.amd64.deb # buildkit
RUN /bin/sh -c dpkg -i JSBSim-devel_1.1.1-134.focal.amd64.deb # buildkit
COPY /models /usr/share/gazebo-11/models/ # buildkit
COPY /worlds /usr/share/gazebo-11/worlds/ # buildkit
COPY /plugins /usr/lib/x86_64-linux-gnu/gazebo-11/plugins # buildkit
RUN /bin/sh -c sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' # buildkit
RUN /bin/sh -c sh -c 'curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -' # buildkit
RUN /bin/sh -c apt-get clean # buildkit
RUN /bin/sh -c apt-get update && apt-get upgrade --yes # buildkit
RUN /bin/sh -c apt-get install --yes gz-garden # buildkit
RUN /bin/sh -c apt-get install --yes ros-noetic-desktop # buildkit
WORKDIR /opt/spiri-sdk
RUN /bin/sh -c git clone --depth 1 -b v1.15.0-beta1 https://github.com/PX4/PX4-Autopilot.git --recursive # buildkit
WORKDIR /opt/spiri-sdk/PX4-Autopilot/
RUN /bin/sh -c make px4_sitl_default # buildkit
RUN /bin/sh -c pip3 install typer-slim loguru sh # buildkit
RUN /bin/sh -c apt-get install --yes virtualbox-guest-dkms virtualbox-guest-utils spice-vdagent qemu-guest-agent # buildkit
RUN /bin/sh -c apt-get install --yes docker-compose-v2 firefox # buildkit
RUN /bin/sh -c apt-get install --yes --no-install-recommends lxqt sddm # buildkit
COPY ./skel/ /opt/spiri-sdk/user-home-skeleton/ # buildkit
RUN /bin/sh -c cp -r /opt/spiri-sdk/user-home-skeleton/* /etc/skel/ # buildkit
RUN /bin/sh -c usermod -l spiri -m -d /home/spiri user # buildkit
RUN /bin/sh -c echo 'spiri:spiri-friend' | chpasswd # buildkit
RUN /bin/sh -c usermod -aG sudo,docker spiri # buildkit
RUN /bin/sh -c chown -R 1000:100 /opt/spiri-sdk # buildkit

Labels

Key Value
maintainer Nuno Marques <nuno.marques@dronesolutions.io>
org.opencontainers.image.created 2024-06-11T16:18:11.628Z
org.opencontainers.image.description Spiri-sdk-desktop takes several spiri components and brings them all together.
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision a4a44dadca069f7ba80bd54a59dad7d3694990df
org.opencontainers.image.source https://git.spirirobotics.com/Spiri/spiri-sdk-desktop
org.opencontainers.image.title spiri-sdk-desktop
org.opencontainers.image.url https://git.spirirobotics.com/Spiri/spiri-sdk-desktop
org.opencontainers.image.version master
Details
Container
2024-06-11 13:37:30 -03:00
0
OCI / Docker
linux/amd64
4.5 GiB
Versions (2) View all
master 2024-06-11
webui 2024-05-03