Skip to content

Commit

Permalink
Call python in entrypoint directly
Browse files Browse the repository at this point in the history
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
  • Loading branch information
discordianfish committed Feb 20, 2024
1 parent 8fd0886 commit bd7753f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion basic/no_action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM ghcr.io/diambra/arena-base-on3.10-bullseye:$TAG
WORKDIR /app
COPY . .

ENTRYPOINT [ "./agent.py" ]
ENTRYPOINT [ "python", "./agent.py" ]
2 changes: 1 addition & 1 deletion basic/random_1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM ghcr.io/diambra/arena-base-on3.10-bullseye:$TAG
WORKDIR /app
COPY . .

ENTRYPOINT [ "./agent.py" ]
ENTRYPOINT [ "python", "./agent.py" ]
2 changes: 1 addition & 1 deletion basic/random_2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM ghcr.io/diambra/arena-base-on3.10-bullseye:$TAG
WORKDIR /app
COPY . .

ENTRYPOINT [ "./agent.py" ]
ENTRYPOINT [ "python", "./agent.py" ]

0 comments on commit bd7753f

Please sign in to comment.