diff --git a/docker-compose.yaml b/docker-compose.yaml index 20a2328..0e51ecc 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,7 +5,7 @@ services: image: ghcr.io/bjoernellens1/ros2_rmp/rmp:base build: context: . - dockerfile: docker/Dockerfile_arm64 + dockerfile: docker/Dockerfile.arm64 args: ROS_DISTRO: humble target: base @@ -31,9 +31,10 @@ services: overlay: extends: base image: ghcr.io/bjoernellens1/ros2_rmp/rmp:overlay + platform: linux/arm64 build: context: . - dockerfile: docker/Dockerfile_arm64 + dockerfile: docker/Dockerfile.arm64 target: overlay diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 2abdef7..017f375 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -4,7 +4,7 @@ ARG UNDERLAY_WS=/rmp_ws ######################################## # Base Image for Bot Mini Control # ######################################## -FROM ros:${ROS_DISTRO} as base +FROM --platform=linux/arm64 ros:${ROS_DISTRO} as base ENV ROS_DISTRO=${ROS_DISTRO} SHELL ["/bin/bash", "-c"]