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
3e50123dc4
commit
7c3e19403f
@ -3,10 +3,12 @@ version: "3.9"
|
|||||||
services: # in docker compose, service are definitions of your docker containers
|
services: # in docker compose, service are definitions of your docker containers
|
||||||
|
|
||||||
my_example: # for this example I am using a very simple docker build for reference: hello-world (builds very fast)
|
my_example: # for this example I am using a very simple docker build for reference: hello-world (builds very fast)
|
||||||
image: hello-world # hello-world image. No prefix means it defaults the image registry to dockerhub
|
image: ghcr.io/bjoernellens1/ros2_docker_template/hello-world # hello-world image. No prefix means it defaults the image registry to dockerhub
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/my_example.Dockerfile # the Dockerfile speciefies the steps taken in the build process.
|
dockerfile: docker/my_example.Dockerfile # the Dockerfile speciefies the steps taken in the build process.
|
||||||
|
tags:
|
||||||
|
- ghcr.io/bjoernellens1/ros2_docker_template/hello-world
|
||||||
target: hello-world # here you specify the build target in the Dockerfile
|
target: hello-world # here you specify the build target in the Dockerfile
|
||||||
x-bake: # Definitions needed for buildx bake. This enhanced docker build system makes things much easier.
|
x-bake: # Definitions needed for buildx bake. This enhanced docker build system makes things much easier.
|
||||||
platforms:
|
platforms:
|
||||||
|
Loading…
Reference in New Issue
Block a user