kumquat-buildroot/support/testing/conf/docker-compose.yml
Peter Korsgaard aa31d10808 test_docker_compose.py: Test the volume mount feature
Extend docker_compose_test() to expose /bin on the host to the container
through a volume mount and verify that /bin/busybox can be downloaded and
contains the right data.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-05-14 23:00:16 +02:00

10 lines
153 B
YAML

version: '3'
services:
busybox:
image: "busybox:latest"
command: httpd -f -h /www/
ports:
- "80:80"
volumes:
- "/bin:/www"