ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:a25798f31219000d6a82d2c9258743926b1a400530d12dbb1eadf2c2519f9888 in / |
CMD ["/bin/bash"] |
/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/* |
/bin/sh -c apt-get update && apt-get install -q -y --no-install-recommends dirmngr gnupg2 && rm -rf /var/lib/apt/lists/* |
/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" |
/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 |
ENV LANG=C.UTF-8 |
ENV LC_ALL=C.UTF-8 |
ENV ROS_DISTRO=noetic |
/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/* |
COPY file:b48a3fff5008212a0bcdc238d0e8be930aa89d2336e357e1f628c98db523efeb in / |
ENTRYPOINT ["/ros_entrypoint.sh"] |
CMD ["bash"] |
ENV CATKIN_SETUP_FILE=devel/setup.bash |
COPY ./rosconsole.config /opt/ros/noetic/share/ros/config/rosconsole.config # buildkit |
COPY ./ros_entrypoint.sh /ros_entrypoint.sh # buildkit |
COPY ./launch.sh /launch # buildkit |
CMD ["/bin/sh" "-c" "stdbuf -o L roscore"] |
HEALTHCHECK &{["CMD-SHELL" "/ros_entrypoint.sh rostopic list"] "0s" "0s" "1m0s" "0s" '\x00'} |
RUN /bin/sh -c apt-get update --yes && apt-get install --yes git build-essential # buildkit |
RUN /bin/sh -c apt-get install --yes python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool # buildkit |
WORKDIR /root/catkin_ws/src |
COPY ./water_sampling ./water_sampling # buildkit |
WORKDIR /root/catkin_ws |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep init" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep update" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep install --from-paths src -y" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make install" # buildkit |
RUN /bin/sh -c apt-get clean # buildkit |