This is an automated email from the ASF dual-hosted git repository.

arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 3d4b955  Don't include the dev start shell script in the container - 
overwrite it in compose when launching locally
3d4b955 is described below

commit 3d4b955731aa036729be43f2b16714803f5f55b4
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Dec 10 16:34:02 2025 +0000

    Don't include the dev start shell script in the container - overwrite it in 
compose when launching locally
---
 Dockerfile.alpine  | 3 +--
 docker-compose.yml | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Dockerfile.alpine b/Dockerfile.alpine
index 5d7fb5d..74880b9 100644
--- a/Dockerfile.alpine
+++ b/Dockerfile.alpine
@@ -70,9 +70,8 @@ COPY --from=builder /opt/atr/scripts ./scripts
 COPY --from=builder /opt/atr/Makefile .
 COPY --from=builder /opt/atr/alembic.ini .
 COPY --from=builder /opt/atr/start-atr.sh .
-COPY --from=builder /opt/atr/start-dev.sh .
 
-RUN chmod +x ./start-atr.sh && chmod +x ./start-dev.sh
+RUN chmod +x ./start-atr.sh
 
 # install additional tools
 ENV RAT_VERSION=0.17
diff --git a/docker-compose.yml b/docker-compose.yml
index 82c8f76..6baa6f5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,10 +14,9 @@ services:
     volumes:
       - ./state:/opt/atr/state
       - ./atr:/opt/atr/atr
+      - ./start-dev.sh:/opt/atr/start-atr.sh
     ports:
       - 8080:8080
-    command:
-      - ./start-dev.sh
     healthcheck:
       test: ["CMD", "curl", "-k", "-f", "https://localhost:8080/";]
       interval: 2s


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to