From 99d950a2f8213da7152d3ba0d5d81bcca675a40c Mon Sep 17 00:00:00 2001 From: Craig Date: Thu, 3 Jul 2025 16:29:06 -0700 Subject: [PATCH 1/2] (a2a, crewai, langgraph, springai): update Dockerfile for Windows compatibility Signed-off-by: Craig --- a2a/Dockerfile | 2 +- crew-ai/Dockerfile | 2 +- langgraph/Dockerfile | 2 +- spring-ai/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/a2a/Dockerfile b/a2a/Dockerfile index ea1efa9c..c21e74e1 100644 --- a/a2a/Dockerfile +++ b/a2a/Dockerfile @@ -33,7 +33,7 @@ else fi exec \$@ EOF -RUN chmod +x ./entrypoint.sh +RUN chmod +x ./entrypoint.sh && sed -i 's/\r$//' /entrypoint.sh RUN useradd --create-home --shell /bin/bash app \ && chown -R app:app /app diff --git a/crew-ai/Dockerfile b/crew-ai/Dockerfile index efe8fa72..8a2387fd 100644 --- a/crew-ai/Dockerfile +++ b/crew-ai/Dockerfile @@ -25,5 +25,5 @@ else fi exec poetry run marketing_posts EOF -RUN chmod +x /entrypoint.sh +RUN chmod +x /entrypoint.sh && sed -i 's/\r$//' /entrypoint.sh CMD ["/entrypoint.sh"] diff --git a/langgraph/Dockerfile b/langgraph/Dockerfile index 526345d6..dc54e8ae 100644 --- a/langgraph/Dockerfile +++ b/langgraph/Dockerfile @@ -38,5 +38,5 @@ else fi exec python agent.py EOF -RUN chmod +x /entrypoint.sh +RUN chmod +x /entrypoint.sh && sed -i 's/\r$//' /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ] diff --git a/spring-ai/Dockerfile b/spring-ai/Dockerfile index bbd04997..f828bfe1 100644 --- a/spring-ai/Dockerfile +++ b/spring-ai/Dockerfile @@ -44,5 +44,5 @@ export OPENAI_BASE_URL=\${OPENAI_BASE_URL%/} export OPENAI_BASE_URL=\${OPENAI_BASE_URL%/v1} exec java -jar app.jar EOF -RUN chmod +x entrypoint.sh +RUN chmod +x entrypoint.sh && sed -i 's/\r$//' /entrypoint.sh ENTRYPOINT ["./entrypoint.sh"] From 346a19eae5e4465696ab2a932652547b21a8eec5 Mon Sep 17 00:00:00 2001 From: Craig Date: Thu, 3 Jul 2025 16:37:08 -0700 Subject: [PATCH 2/2] fix location for a2a Signed-off-by: Craig --- a2a/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a2a/Dockerfile b/a2a/Dockerfile index c21e74e1..b0702e12 100644 --- a/a2a/Dockerfile +++ b/a2a/Dockerfile @@ -33,7 +33,7 @@ else fi exec \$@ EOF -RUN chmod +x ./entrypoint.sh && sed -i 's/\r$//' /entrypoint.sh +RUN chmod +x ./entrypoint.sh && sed -i 's/\r$//' ./entrypoint.sh RUN useradd --create-home --shell /bin/bash app \ && chown -R app:app /app