ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:6d8cc056ee741f09a6c7d965d8e2027d80ed2eccbfb0312593ce52d9256db437 in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c echo 'Etc/UTC' > /etc/timezone && ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && apt-get update && apt-get install -q -y --no-install-recommends tzdata && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c apt-get update && apt-get install -q -y --no-install-recommends dirmngr gnupg2 && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c set -eux; key='C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; mkdir -p /usr/share/keyrings; gpg --batch --export "$key" > /usr/share/keyrings/ros1-latest-archive-keyring.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit |
RUN /bin/sh -c echo "deb [ signed-by=/usr/share/keyrings/ros1-latest-archive-keyring.gpg ] http://packages.ros.org/ros/ubuntu focal main" > /etc/apt/sources.list.d/ros1-latest.list # buildkit |
ENV LANG=C.UTF-8 |
ENV LC_ALL=C.UTF-8 |
ENV ROS_DISTRO=noetic |
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ros-noetic-ros-core=1.5.0-1* && rm -rf /var/lib/apt/lists/* # buildkit |
COPY ./ros_entrypoint.sh / # buildkit |
ENTRYPOINT ["/ros_entrypoint.sh"] |
CMD ["bash"] |
RUN /bin/sh -c apt-get update && apt-get install -y git vim build-essential ros-noetic-mavros ros-noetic-mavros-extras # buildkit |
WORKDIR /root/ |
COPY Buzz/ ./buzz/ # buildkit |
WORKDIR /root/buzz/build |
RUN /bin/sh -c cmake ../src # buildkit |
RUN /bin/sh -c make # buildkit |
RUN /bin/sh -c make install # buildkit |
RUN /bin/sh -c sudo ldconfig # buildkit |
WORKDIR /root/catkin_ws/ |
COPY rosbuzz/ ./src/rosbuzz # buildkit |
WORKDIR /root/catkin_ws/src/rosbuzz/buzz_scripts |
RUN /bin/sh -c /bin/bash -c "bzzc --include include main.bzz" # buildkit |
WORKDIR /root/catkin_ws/ |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make -DSIM=0 -DKIN=1" # buildkit |
RUN /bin/sh -c /bin/bash -c "echo \"source /root/catkin_ws/devel/setup.bash\" >> ~/.bashrc" # buildkit |
RUN /bin/sh -c /bin/bash -c "echo \"source /root/catkin_ws/src/rosbuzz/misc/cmdlinectr.sh\" >> ~/.bashrc" # buildkit |
ENV ROS_DISTRO=noetic |
ENV CATKIN_SETUP_FILE=devel/setup.bash |
RUN /bin/sh -c apt-get clean # buildkit |
COPY ./ros_entrypoint.sh /ros_entrypoint.sh # buildkit |
HEALTHCHECK &{["CMD-SHELL" "/ros_entrypoint.sh rostopic list"] "5s" "5s" "0s" "0s" '\x03'} |