Skip to content

Commit 7ce605e

Browse files
committed
testing
1 parent 1d8bc3c commit 7ce605e

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.docker/Dockerfile

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,21 @@ RUN python3 -m venv --system-site-packages $VIRTUAL_ENV \
5151
&& echo "\n# Ensure colcon is run in the venv\nalias colcon='python3 -m colcon'" >> /home/$USERNAME/.bashrc
5252
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
5353

54-
# Uncomment to download and install external repos used by the project
55-
RUN vcs import src < src/$PROJECT_NAME/ros2.repos
56-
5754
# Install all ROS dependencies
55+
RUN vcs import src < src/$PROJECT_NAME/ros2.repos
5856
WORKDIR $USER_WORKSPACE
59-
RUN sudo apt-get -q update \
60-
&& sudo apt-get -q -y upgrade \
61-
&& rosdep update \
62-
&& rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} \
63-
&& sudo apt-get autoremove -y \
64-
&& sudo apt-get clean -y \
65-
&& sudo rm -rf /var/lib/apt/lists/*
57+
# Skip for now while i fix
58+
# RUN sudo apt-get -q update \
59+
# && sudo apt-get -q -y upgrade \
60+
# && rosdep update \
61+
# && rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} \
62+
# && sudo apt-get autoremove -y \
63+
# && sudo apt-get clean -y \
64+
# && sudo rm -rf /var/lib/apt/lists/*
6665

6766
RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
68-
&& colcon build \
69-
&& echo "source ${USER_WORKSPACE}/install/setup.bash" >> /home/$USERNAME/.bashrc \
67+
# && colcon build \
68+
# && echo "source ${USER_WORKSPACE}/install/setup.bash" >> /home/$USERNAME/.bashrc \
7069
&& echo "if [ -f /opt/ros/${ROS_DISTRO}/setup.bash ]; then source /opt/ros/${ROS_DISTRO}/setup.bash; fi" >> /home/$USERNAME/.bashrc
7170

7271
WORKDIR $USER_WORKSPACE

0 commit comments

Comments
 (0)