This commit is contained in:
Björn Ellensohn 2024-01-22 10:33:46 +01:00
commit 82ceda82bd
2 changed files with 12 additions and 3 deletions

View File

@ -3,15 +3,24 @@
For the build with docker buildx bake you will need binfmt dependencies for arm64 architecture, as we are doing a multiplatform build (Works on PCs as well as Jetson Nano, Raspberry Pi, Apple Silicon Devices). For the build with docker buildx bake you will need binfmt dependencies for arm64 architecture, as we are doing a multiplatform build (Works on PCs as well as Jetson Nano, Raspberry Pi, Apple Silicon Devices).
For Robot: For Robot:
```
docker buildx bake overlay --load docker buildx bake overlay --load
docker buildx bake overlay --push docker buildx bake overlay --push
```
e.g.: e.g.:
```
docker compose up -d controller docker compose up -d controller
```
For PC: For PC:
```
docker buildx bake guis --load docker buildx bake guis --load
docker buildx bake guis --push docker buildx bake guis --push
```
--> get into container shell: --> get into container shell:
```
docker compose run guis docker compose run guis
```
or or
```
docker compose up rviz2 docker compose up rviz2
```

View File

@ -8,7 +8,7 @@ ARG TARGETPLATFORM
# Variable TARGETPLATFORM should be auomatically created during build process by docker. # Variable TARGETPLATFORM should be auomatically created during build process by docker.
######################################## ########################################
# Base Image for Bot Mini Control # # Base Image for RMP Control #
######################################## ########################################
FROM ros:${ROS_DISTRO} as base FROM ros:${ROS_DISTRO} as base
ENV ROS_DISTRO=${ROS_DISTRO} ENV ROS_DISTRO=${ROS_DISTRO}