Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwalter committed Feb 20, 2024
1 parent 01eabc5 commit fbd3de4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ripl/libbot2:latest

# set Ubuntu codename
ENV UBUNTU_DISTRIB_CODENAME "xenial"
# ENV UBUNTU_DISTRIB_CODENAME "focal"

# set ROS codename
#ENV ROS_DISTRO "kinetic"
Expand All @@ -10,9 +10,6 @@ ENV ROS_DISTRO "noetic"
# set default ROS master hostname
ENV ROS_MASTER_HOST "localhost"

# Setup ROS sources
#RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $UBUNTU_DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'

RUN apt update && apt install -y curl

RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Expand All @@ -27,15 +24,6 @@ RUN apt update && apt install -y \
# clean the apt cache
&& rm -rf /var/lib/apt/lists/*

# Setup ROS keys
#RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

# update apt lists and install system libraries, then clean the apt cache
#RUN apt update && apt install -y \
# ros-$ROS_DISTRO-desktop \
# clean the apt cache
# && rm -rf /var/lib/apt/lists/*

# source ROS
RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> /etc/bash.bashrc

Expand Down

0 comments on commit fbd3de4

Please sign in to comment.