From bd7753f576eb329ac2bbcf4777be7118e5e63372 Mon Sep 17 00:00:00 2001 From: Johannes Ziemke Date: Tue, 20 Feb 2024 16:09:59 +0100 Subject: [PATCH] Call python in entrypoint directly Looks like introducing artifact based caching removed the executable flag from the scripts, making the entrypoint fail. For more details, see: https://github.com/actions/upload-artifact?tab=readme-ov-file#permission-loss --- basic/no_action/Dockerfile | 2 +- basic/random_1/Dockerfile | 2 +- basic/random_2/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basic/no_action/Dockerfile b/basic/no_action/Dockerfile index 9d6a36b..7570d16 100644 --- a/basic/no_action/Dockerfile +++ b/basic/no_action/Dockerfile @@ -4,4 +4,4 @@ FROM ghcr.io/diambra/arena-base-on3.10-bullseye:$TAG WORKDIR /app COPY . . -ENTRYPOINT [ "./agent.py" ] +ENTRYPOINT [ "python", "./agent.py" ] diff --git a/basic/random_1/Dockerfile b/basic/random_1/Dockerfile index 9d6a36b..7570d16 100644 --- a/basic/random_1/Dockerfile +++ b/basic/random_1/Dockerfile @@ -4,4 +4,4 @@ FROM ghcr.io/diambra/arena-base-on3.10-bullseye:$TAG WORKDIR /app COPY . . -ENTRYPOINT [ "./agent.py" ] +ENTRYPOINT [ "python", "./agent.py" ] diff --git a/basic/random_2/Dockerfile b/basic/random_2/Dockerfile index 9d6a36b..7570d16 100644 --- a/basic/random_2/Dockerfile +++ b/basic/random_2/Dockerfile @@ -4,4 +4,4 @@ FROM ghcr.io/diambra/arena-base-on3.10-bullseye:$TAG WORKDIR /app COPY . . -ENTRYPOINT [ "./agent.py" ] +ENTRYPOINT [ "python", "./agent.py" ]