From 19d90097d9ce9b1cb8034b3cf4ed987e6c4fc32c Mon Sep 17 00:00:00 2001 From: purpose2do <99521999+purpose2do@users.noreply.github.com> Date: Sat, 9 Sep 2023 17:46:10 +0000 Subject: [PATCH] Updated the image for the app service to docker/dev-environments-default:stable-1. This image provides a basic development environment with all the necessary tools installed. The init flag has also been set to true, which ensures that the container is initialized before the entrypoint is executed. This prevents the container from exiting immediately if the entrypoint fails. A volume has also been added to the app service to mount the host's /var/run/docker.sock file into the container. This allows the container to communicate with the Docker daemon on the host machine. --- compose-dev.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 compose-dev.yaml diff --git a/compose-dev.yaml b/compose-dev.yaml new file mode 100644 index 000000000..a92f7012b --- /dev/null +++ b/compose-dev.yaml @@ -0,0 +1,12 @@ +services: + app: + entrypoint: + - sleep + - infinity + image: docker/dev-environments-default:stable-1 + init: true + volumes: + - type: bind + source: /var/run/docker.sock + target: /var/run/docker.sock +