Skip to content

Commit

Permalink
Proper build.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpolzin committed Nov 29, 2023
1 parent bca1a7e commit 37317cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
COPY ros_entrypoint.sh .

WORKDIR /colcon_ws
COPY ros_as5048b src/.
COPY ros_as5048b src/ros_as5048b

RUN . /opt/ros/${ROS_DISTRO}/setup.sh && colcon build --symlink-install --event-handlers console_direct+

Expand Down
6 changes: 2 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ docker run -it --rm \
--device=/dev/i2c-1 \
--env I2C_DEVICE=1 \
--env I2C_ADDRESS=0x40 \
-v /dev:/dev \
--volume ./ros_as5048b:/colcon_ws/src/ros_as5048b \
-v /dev:/dev \
ghcr.io/rosblox/${REPOSITORY_NAME}:humble



#--volume ./ros_as5048b:/colcon_ws/src/ros_as5048b \

0 comments on commit 37317cf

Please sign in to comment.