diff --git a/Dockerfile b/Dockerfile index b031a99..48310ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.17 +FROM node:22-alpine RUN apk --update --no-cache add nodejs npm python3 py3-pip jq curl bash git docker && \ ln -sf /usr/bin/python3 /usr/bin/python diff --git a/entrypoint.sh b/entrypoint.sh index 478ccf4..e9cc2f6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -99,6 +99,10 @@ ${output} function main(){ parseInputs cd ${GITHUB_WORKSPACE}/${INPUT_WORKING_DIR} + + # Fix for https://github.com/actions/checkout/issues/766 + git config --global --add safe.directory "$GITHUB_WORKSPACE" + installTypescript installAwsCdk installPipRequirements