podman-compose/tests/integration/build
Sebastian Wick ca58d7cd58 Pass build description labels to podman build
The Compose Specification supports adding labels to the build image
which is also used in practice. Support this and pass the labels to
`podman build`.

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-07-08 19:15:16 +03:00
..
context Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00
docker-compose.yml Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00
README.md Pass build description labels to podman build 2024-07-08 19:15:16 +03:00

Test podman-compose with build

podman-compose build
podman-compose up -d
curl http://localhost:8080/index.txt
curl http://localhost:8000/index.txt
podman inspect my-busybox-httpd2 
podman-compose down

expected output would be something like

2019-09-03T15:16:38+0000
ALT buildno=2 port 8000 2019-09-03T15:16:38+0000
{
...
}

as you can see we were able to override buildno to be 2 instead of 1, and httpd_port to 8000.