Skip to content

Commit 3e1092c

Browse files
Atempting to fix docker compose
1 parent 42a695d commit 3e1092c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ RUN apt install -y git
2525
# Change user
2626
USER $USERNAME
2727

28+
# Copy to preload the ros packages
29+
COPY ./ /workspace/$USERNAME/
30+
2831
# Install Tesseract
2932
RUN apt install tesseract-ocr
3033

@@ -35,9 +38,6 @@ RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc && \
3538
# Rosdep update
3639
RUN rosdep update
3740

38-
# Copy to preload the ros packages
39-
COPY ./ /workspace/$USERNAME/
40-
4141
# Install ROS dependencies
4242
RUN rosdep install --from-paths src --ignore-src --rosdistro humble -y
4343

0 commit comments

Comments
 (0)