spiri-sdk-desktop (sha256:7e37512aa602536bfd5aacf87ccd0d3c9d04bde2a62cf26ccad11e92e352a1b7)
Published 2024-05-03 08:42:40 -03:00 by spiri-buildbot
Installation
docker pull git.spirirobotics.com/spiri/spiri-sdk-desktop@sha256:7e37512aa602536bfd5aacf87ccd0d3c9d04bde2a62cf26ccad11e92e352a1b7
sha256:7e37512aa602536bfd5aacf87ccd0d3c9d04bde2a62cf26ccad11e92e352a1b7
About this package
Spiri-sdk-desktop takes several spiri components and brings them all together.
Image Layers
ADD file:5d68d27cc15a80653c93d3a0b262a28112d47a46326ff5fc2dfbf7fa3b9a0ce8 in / |
CMD ["bash"] |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends systemd systemd-sysv libsystemd0 ca-certificates dbus iptables iproute2 kmod locales sudo udev && echo "ReadKMsg=no" >> /etc/systemd/journald.conf && apt-get clean -y && rm -rf /var/cache/debconf/* /var/lib/apt/lists/* /var/log/* /tmp/* /var/tmp/* /usr/share/doc/* /usr/share/man/* /usr/share/local/* && useradd --create-home --shell /bin/bash admin && echo "admin:admin" | chpasswd && adduser admin sudo |
STOPSIGNAL SIGRTMIN+3 |
ENTRYPOINT ["/sbin/init" "--log-level=err"] |
ENV ROS_DISTRO=noetic |
ENV DEBIAN_FRONTEND=noninteractive |
RUN /bin/sh -c apt-get update # buildkit |
RUN /bin/sh -c apt-get install curl gnupg2 software-properties-common -y # 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 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 -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -' # buildkit |
RUN /bin/sh -c sh -c 'add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"' # buildkit |
RUN /bin/sh -c sh -c "curl -sSL http://get.gazebosim.org | sh" # buildkit |
RUN /bin/sh -c apt-get update # buildkit |
RUN /bin/sh -c apt-get install ros-$ROS_DISTRO-ros-core -y # buildkit |
RUN /bin/sh -c apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y # buildkit |
RUN /bin/sh -c apt-get install ros-$ROS_DISTRO-gazebo-ros-pkgs ros-$ROS_DISTRO-gazebo-ros-control gazebo11 -y # buildkit |
RUN /bin/sh -c apt-get install ros-$ROS_DISTRO-mavros -y # buildkit |
RUN /bin/sh -c apt-get install lxqt-core dbus-x11 udisks2- gvfs-daemons- gvfs-backends- gvfs-fuse- -y #A few things related to FUSE need to be explicityly not installed # buildkit |
RUN /bin/sh -c apt-get install vim nano htop git mesa-utils rsync iputils-ping -y # buildkit |
RUN /bin/sh -c apt-get install firefox -y # buildkit |
RUN /bin/sh -c apt-get remove gnome-shell -y # buildkit |
RUN /bin/sh -c apt-get autoremove -y # buildkit |
RUN /bin/sh -c wget https://github.com/kasmtech/KasmVNC/releases/download/v1.2.0/kasmvncserver_focal_1.2.0_amd64.deb # buildkit |
RUN /bin/sh -c apt-get install ./kasmvncserver_focal_1.2.0_amd64.deb --yes # buildkit |
RUN /bin/sh -c rm ./kasmvncserver_focal_1.2.0_amd64.deb # buildkit |
COPY ./kasmvnc.yaml /etc/kasmvnc/kasmvnc.yaml # buildkit |
COPY ./userhome.service /etc/systemd/system/ # buildkit |
RUN /bin/sh -c systemctl enable userhome # buildkit |
COPY ./kasmvnc.service /etc/systemd/system/ # buildkit |
RUN /bin/sh -c systemctl enable kasmvnc # buildkit |
COPY ./skel /etc/skel/ # buildkit |
RUN /bin/sh -c userdel -r admin # buildkit |
ARG USERNAME=spiri |
ARG USER_UID=1000 |
ARG USER_GID=1000 |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c groupadd --gid $USER_GID $USERNAME # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c useradd --uid $USER_UID --gid $USER_GID --create-home --shell /bin/bash $USERNAME # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c usermod -aG sudo,ssl-cert,docker $USERNAME # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c chmod 0440 /etc/sudoers.d/$USERNAME # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c echo "${USERNAME}:spiri-friend" | chpasswd # buildkit |
COPY --chown=1000:1000 --chmod=0755 ./xstartup /opt/xstartup # buildkit |
COPY ./background.png /opt/spiri-wallpaper.png # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c sed -i 's|/usr/share/lxqt/themes/debian/wallpaper.svg|/opt/spiri-wallpaper.png|' /etc/xdg/pcmanfm-qt/lxqt/settings.conf # buildkit |
RUN |3 USERNAME=spiri USER_UID=1000 USER_GID=1000 /bin/sh -c sed -i 's|TerminalTransparency=10|/TerminalTransparency=0|' /etc/xdg/qterminal.org/qterminal.ini # 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 |
VOLUME [/home/spiri/] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-05-03T11:32:38.215Z |
org.opencontainers.image.description | Spiri-sdk-desktop takes several spiri components and brings them all together. |
org.opencontainers.image.licenses | |
org.opencontainers.image.revision | 601496f3df6f62faf9ac5d74f45a795d0a3bd63e |
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 | webui |
Details
2024-05-03 08:42:40 -03:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
1.4 GiB