Skip to content

Commit ec4d255

Browse files
fix: update Python command to use python3 in Dockerfile and entrypoint script
1 parent 28c913e commit ec4d255

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ RUN chmod +x /entrypoint.sh ;\
2020
rm -rf /var/lib/apt/lists/*
2121

2222
# Finish up
23-
CMD ["python", "--version"]
23+
CMD ["python3", "--version"]
2424
WORKDIR /github/workspace
2525
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66
RET_CODE=0
77

88
# Run main action
9-
python /terraform-copy-vars.py
9+
python3 /terraform-copy-vars.py
1010
RET_CODE=$?
1111

1212
# List of changed files

0 commit comments

Comments
 (0)