From 06a0d647394eed89e9e0e4fbb104249dc270bdba Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 23 Oct 2023 11:03:10 +0200 Subject: [PATCH] Update docker-compose.yaml --- docker-compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 0a893cc..ec3646b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -17,10 +17,12 @@ services: # in docker compose, service are definitions of your docker containers # Base image containing dependencies for example the robot controller base: - image: ghcr.io/bjoernellens1/ros2_docker_template/ros2:base # this will be the output image tag. You might replace this with your own container registry + image: ghcr.io/bjoernellens1/ros2_docker_template/ros2:base # This tells docker where to look for the image remotely, so you don't need to build the image on your PC. You might replace this with your own container registry build: context: . - dockerfile: docker/Dockerfile # the Dockerfilespeciefies the steps taken in the build process. + dockerfile: docker/Dockerfile # the Dockerfile specifies the steps taken in the build process. + tags: + - ghcr.io/bjoernellens1/ros2_docker_template/ros2:base # this will be the output image tag. You might replace this with your own container registry args: # specify build arguments. May use them to alter the build process. ROS_DISTRO: humble # For instance you could change to foxy here. target: base # here you specify the build target in the Dockerfile