mirror of
https://github.com/bjoernellens1/ros2_docker_template.git
synced 2024-11-23 15:55:05 +00:00
Update docker-compose.yaml
This commit is contained in:
parent
5e1564107b
commit
06a0d64739
@ -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 containing dependencies for example the robot controller
|
||||||
base:
|
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:
|
build:
|
||||||
context: .
|
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.
|
args: # specify build arguments. May use them to alter the build process.
|
||||||
ROS_DISTRO: humble # For instance you could change to foxy here.
|
ROS_DISTRO: humble # For instance you could change to foxy here.
|
||||||
target: base # here you specify the build target in the Dockerfile
|
target: base # here you specify the build target in the Dockerfile
|
||||||
|
Loading…
Reference in New Issue
Block a user