Skip to content

Commit

Permalink
Merge pull request #12 from bdaiinstitute/pr-fixed-arm-release
Browse files Browse the repository at this point in the history
  • Loading branch information
amessing-bdai committed Oct 26, 2023
2 parents d401dbb + e0ca72e commit 4eb2163
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 63 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,23 @@ If you want to build the package for ARM64 architecture in non ARM64 host system
2. Build the docker image with ARM64 target running Ubuntu 22.04 and ROS Humble.
```
```bash
docker build -t bosdyn_msgs/arm64 --platform linux/arm64/v8 -f docker/arm64/Dockerfile .
```
3. Run the docker image
3. From the root of the `bosdyn_msgs` repo, run the docker container.
```
```bash
docker run -it bosdyn_msgs/arm64 /bin/bash
```
4. Inside the container follow the steps in the **Create debian structure** section.
4. The docker container clones the latest `bosdyn_msgs` repo into `/bosdyn_msgs` You must checkout the correct version.
5. Inside the container follow the steps in the **Create debian structure** section.
```bash
bloom-generate rosdebian --os-name ubuntu --os-version jammy --ros-distro humble
fakeroot debian/rules binary
```
5. Copy the generated `.deb` file from the container to the host machine
6. Copy the generated `.deb` file from the container to the host machine
17 changes: 0 additions & 17 deletions docker/amd64/humble/build.sh

This file was deleted.

21 changes: 21 additions & 0 deletions docker/arm64/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Use a base image by OSRF that already contains ROS 2 Humble
FROM arm64v8/ros:humble-ros-base-jammy

# Install system utilities
RUN apt-get update && apt-get install -y \
python3-pip \
wget \
iputils-ping

RUN pip install -U bloom

RUN apt-get update && apt-get install -y \
fakeroot \
dpkg-dev \
debhelper

RUN git clone https://github.com/bdaiinstitute/bosdyn_msgs.git

CMD ["bash"]


16 changes: 0 additions & 16 deletions docker/arm64/humble/build.sh

This file was deleted.

20 changes: 0 additions & 20 deletions docker/common/Dockerfile

This file was deleted.

5 changes: 0 additions & 5 deletions docker/common/entrypoint.sh

This file was deleted.

0 comments on commit 4eb2163

Please sign in to comment.