Skip to content

Commit 313dcc1

Browse files
committed
Updated builder image commands to remain running and idle to minimize confusion when troubleshooting or restarting individual services.
1 parent 7fe01c0 commit 313dcc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,19 @@ services:
4949
build:
5050
dockerfile: base.Dockerfile
5151
target: anms-base
52-
command: echo "Base image built" # Prevent it from running
52+
command: bash -c 'while true; do sleep 1; done' # Dummy loop to simplify dependency management
5353
builder-init:
5454
image: localhost/anms-init
5555
build:
5656
dockerfile: base.Dockerfile
5757
target: anms-init
58-
command: echo "Base-init image built" # Prevent it from running
58+
command: bash -c 'while true; do sleep 1; done' # Dummy loop to simplify dependency management
5959
builder-acelib:
6060
image: localhost/dtnma-acelib
6161
build:
6262
dockerfile: base.Dockerfile
6363
target: dtnma-acelib
64-
command: echo "Base-acelib image built" # Prevent it from running
64+
command: bash -c 'while true; do sleep 1; done' # Dummy loop to simplify dependency management
6565
authnz:
6666
image: ${DOCKER_IMAGE_PREFIX}authnz:${DOCKER_IMAGE_TAG}
6767
build:

0 commit comments

Comments
 (0)