From e2ed2bdd2823330671467ee29ef5d922e26fe039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Thu, 27 Jul 2023 12:46:42 +0200 Subject: [PATCH] switching to yaml file --- docker-compose.yaml | 5 +++-- docker/Dockerfile.arm64 | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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"]