Skip to content

Commit

Permalink
Reenable build as expected
Browse files Browse the repository at this point in the history
by relaxing normal build conventions
to demonstrate cmake issues
  • Loading branch information
ruffsl committed Jul 12, 2024
1 parent 17c89f3 commit 3f69342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY . /tmp/RGLGazeboPlugin
RUN --mount=type=cache,target=src/,rw \
cp -r /tmp/RGLGazeboPlugin src/RGLGazeboPlugin

RUN --mount=type=cache,target=src/,ro \
RUN --mount=type=cache,target=src/,rw \
. /opt/ros/$ROS_DISTRO/setup.sh && \
colcon build

Expand All @@ -51,7 +51,7 @@ FROM builder AS dancer
# Copy only the lib and bin directories
RUN --mount=type=cache,target=src/,ro \
mkdir /dancer && \
find install -type f -name "*.so" -exec cp {} /dancer/ \;
find src -type f -name "*.so" -exec cp {} /dancer/ \;

################################################################################
# MARK: exporter - export rgl binaries and executables
Expand Down

0 comments on commit 3f69342

Please sign in to comment.