Skip to content

Commit 4eb2163

Browse files
Merge pull request #12 from bdaiinstitute/pr-fixed-arm-release
2 parents d401dbb + e0ca72e commit 4eb2163

File tree

6 files changed

+33
-63
lines changed

6 files changed

+33
-63
lines changed

README.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,23 @@ If you want to build the package for ARM64 architecture in non ARM64 host system
126126
127127
2. Build the docker image with ARM64 target running Ubuntu 22.04 and ROS Humble.
128128
129-
```
129+
```bash
130130
docker build -t bosdyn_msgs/arm64 --platform linux/arm64/v8 -f docker/arm64/Dockerfile .
131131
```
132132
133-
3. Run the docker image
133+
3. From the root of the `bosdyn_msgs` repo, run the docker container.
134134
135-
```
135+
```bash
136136
docker run -it bosdyn_msgs/arm64 /bin/bash
137137
```
138138
139-
4. Inside the container follow the steps in the **Create debian structure** section.
139+
4. The docker container clones the latest `bosdyn_msgs` repo into `/bosdyn_msgs` You must checkout the correct version.
140+
141+
5. Inside the container follow the steps in the **Create debian structure** section.
142+
143+
```bash
144+
bloom-generate rosdebian --os-name ubuntu --os-version jammy --ros-distro humble
145+
fakeroot debian/rules binary
146+
```
140147
141-
5. Copy the generated `.deb` file from the container to the host machine
148+
6. Copy the generated `.deb` file from the container to the host machine

docker/amd64/humble/build.sh

-17
This file was deleted.

docker/arm64/Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Use a base image by OSRF that already contains ROS 2 Humble
2+
FROM arm64v8/ros:humble-ros-base-jammy
3+
4+
# Install system utilities
5+
RUN apt-get update && apt-get install -y \
6+
python3-pip \
7+
wget \
8+
iputils-ping
9+
10+
RUN pip install -U bloom
11+
12+
RUN apt-get update && apt-get install -y \
13+
fakeroot \
14+
dpkg-dev \
15+
debhelper
16+
17+
RUN git clone https://github.com/bdaiinstitute/bosdyn_msgs.git
18+
19+
CMD ["bash"]
20+
21+

docker/arm64/humble/build.sh

-16
This file was deleted.

docker/common/Dockerfile

-20
This file was deleted.

docker/common/entrypoint.sh

-5
This file was deleted.

0 commit comments

Comments
 (0)