diff --git a/docker/build/dev.x86_64.dockerfile b/docker/build/dev.x86_64.dockerfile index a20d271539db465b750bb925e0cff9888091cc9b..952f32bc6b06d773ab9fa924908aae7a5eec6eb3 100644 --- a/docker/build/dev.x86_64.dockerfile +++ b/docker/build/dev.x86_64.dockerfile @@ -58,7 +58,6 @@ RUN bash /tmp/installers/install_pcl.sh RUN bash /tmp/installers/install_protobuf.sh RUN bash /tmp/installers/install_python_modules.sh RUN bash /tmp/installers/install_qp_oases.sh -RUN bash /tmp/installers/install_ros.sh RUN bash /tmp/installers/install_snowboy.sh RUN bash /tmp/installers/install_supervisor.sh RUN bash /tmp/installers/install_undistort.sh diff --git a/docker/build/installers/install_ros.sh b/docker/build/installers/install_ros.sh deleted file mode 100755 index 177ae51fba09cd653458fce3f236b9f3052489f7..0000000000000000000000000000000000000000 --- a/docker/build/installers/install_ros.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/env bash - -############################################################################### -# Copyright 2018 The Apollo Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################### - -# Fail on first error. -set -e - -# Install dependencies. -echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" \ - > /etc/apt/sources.list.d/ros-latest.list -apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 \ - --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 - -apt-get update -y && apt-get install -y \ - libbz2-dev \ - libceres-dev \ - libconsole-bridge-dev \ - libeigen3-dev \ - libgstreamer-plugins-base0.10-dev \ - libgstreamer0.10-dev \ - liblog4cxx10-dev \ - liblz4-dev \ - libpoco-dev \ - libproj-dev \ - libtinyxml-dev \ - libyaml-cpp-dev \ - ros-indigo-catkin \ - sip-dev \ - uuid-dev \ - zlib1g-dev - -# Set environment. -echo 'ROSCONSOLE_FORMAT=${file}:${line} ${function}() [${severity}] [${time}]: ${message}' >> /etc/profile - -# Download apollo-ros. -VERSION=2.1.2 -FILENAME=ros-indigo-apollo-${VERSION}-x86_64.tar.gz - -mkdir -p /home/tmp -cd /home/tmp -wget https://github.com/ApolloAuto/apollo-platform/releases/download/${VERSION}/${FILENAME} -tar xzf ${FILENAME} - -ROS="/home/tmp/ros" -chmod a+w "${ROS}/share/velodyne/launch/start_velodyne.launch" -chmod a+w -R "${ROS}/share/velodyne_pointcloud/params" -chmod a+w "${ROS}/share/gnss_driver/launch/gnss_driver.launch" -chmod a+w "${ROS}/share/gnss_driver/conf/gnss_conf_mkz.txt" - -# Clean up. -# Clean up. -apt-get clean && rm -rf /var/lib/apt/lists/* -rm -fr ${FILENAME} /etc/apt/sources.list.d/ros-latest.list