ardupilot (sha256:3de4abc7f98ef101f448aa57553569029ebe4e2c730f965b158d00d4dc14a081)

Published 2024-11-01 11:33:11 -03:00 by spiri-buildbot

Installation

docker pull git.spirirobotics.com/spiri/ardupilot@sha256:3de4abc7f98ef101f448aa57553569029ebe4e2c730f965b158d00d4dc14a081
sha256:3de4abc7f98ef101f448aa57553569029ebe4e2c730f965b158d00d4dc14a081

About this package

ArduPlane, ArduCopter, ArduRover, ArduSub source

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
CMD ["/bin/bash"]
WORKDIR /ardupilot
ARG DEBIAN_FRONTEND=noninteractive
ARG USER_NAME=ardupilot
ARG USER_UID=1000
ARG USER_GID=1000
ARG SKIP_AP_EXT_ENV=0
ARG SKIP_AP_GRAPHIC_ENV=1
ARG SKIP_AP_COV_ENV=1
ARG SKIP_AP_GIT_CHECK=1
ARG DO_AP_STM_ENV=1
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c groupadd ${USER_NAME} --gid ${USER_GID} && useradd -l -m ${USER_NAME} -u ${USER_UID} -g ${USER_GID} -s /bin/bash # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c apt-get update && apt-get install --no-install-recommends -y lsb-release sudo tzdata bash-completion # buildkit
COPY Tools/environment_install/install-prereqs-ubuntu.sh /ardupilot/Tools/environment_install/ # buildkit
COPY Tools/completion /ardupilot/Tools/completion/ # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c echo "ardupilot ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/${USER_NAME} # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c chmod 0440 /etc/sudoers.d/${USER_NAME} # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c chown -R ${USER_NAME}:${USER_NAME} /${USER_NAME} # buildkit
USER ardupilot
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c SKIP_AP_EXT_ENV=$SKIP_AP_EXT_ENV SKIP_AP_GRAPHIC_ENV=$SKIP_AP_GRAPHIC_ENV SKIP_AP_COV_ENV=$SKIP_AP_COV_ENV SKIP_AP_GIT_CHECK=$SKIP_AP_GIT_CHECK DO_AP_STM_ENV=$DO_AP_STM_ENV AP_DOCKER_BUILD=1 USER=${USER_NAME} Tools/environment_install/install-prereqs-ubuntu.sh -y # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c echo "if [ -d \"\$HOME/.local/bin\" ] ; then\nPATH=\"\$HOME/.local/bin:\$PATH\"\nfi" >> ~/.ardupilot_env # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c export ARDUPILOT_ENTRYPOINT="/home/${USER_NAME}/ardupilot_entrypoint.sh" && echo "#!/bin/bash" > $ARDUPILOT_ENTRYPOINT && echo "set -e" >> $ARDUPILOT_ENTRYPOINT && echo "source /home/${USER_NAME}/.ardupilot_env" >> $ARDUPILOT_ENTRYPOINT && echo 'exec "$@"' >> $ARDUPILOT_ENTRYPOINT && chmod +x $ARDUPILOT_ENTRYPOINT && sudo mv $ARDUPILOT_ENTRYPOINT /ardupilot_entrypoint.sh # buildkit
ENV BUILDLOGS=/tmp/buildlogs
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/sh -c sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
ENV CCACHE_MAXSIZE=1G
ENTRYPOINT ["/ardupilot_entrypoint.sh"]
CMD ["bash"]
USER ardupilot
SHELL [/bin/bash -c]
COPY ./ /ardupilot # buildkit
WORKDIR /ardupilot
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/bash -c ./waf configure --board sitl # buildkit
RUN |9 DEBIAN_FRONTEND=noninteractive USER_NAME=ardupilot USER_UID=1000 USER_GID=1000 SKIP_AP_EXT_ENV=0 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1 DO_AP_STM_ENV=1 /bin/bash -c ./waf copter # buildkit

Labels

Key Value
org.opencontainers.image.created 2024-11-01T14:25:18.502Z
org.opencontainers.image.description ArduPlane, ArduCopter, ArduRover, ArduSub source
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 1e9eab83895940ba1f520d04cbb04f2b6d61dcdd
org.opencontainers.image.source https://git.spirirobotics.com/Spiri/ardupilot
org.opencontainers.image.title ardupilot
org.opencontainers.image.url https://git.spirirobotics.com/Spiri/ardupilot
org.opencontainers.image.version spiri-master
Details
Container
2024-11-01 11:33:11 -03:00
7
OCI / Docker
linux/amd64
1.0 GiB
Versions (1) View all
spiri-master 2024-11-01