diff --git a/Dockerfile b/Dockerfile index f3f7caf..59aaeac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,7 @@ FROM asciidoctor/docker-asciidoctor:latest # Copies your code file from your action repository to the filesystem path `/` of the container COPY entrypoint.sh /entrypoint.sh +RUN apk update && apk add --update openssh-client git-lfs + # Code file to execute when the docker container starts up (`entrypoint.sh`) ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 5668964..e90eb98 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,14 +9,7 @@ if [[ "$INPUT_ADOC_FILE_EXT" != .* ]]; then INPUT_ADOC_FILE_EXT=".$INPUT_ADOC_FILE_EXT"; fi -# Install git-lfs since it is not in Alpine base image. -echo "Install git-lfs" -apk update -apk add --update git-lfs - echo "Configure git" -apk add openssh-client -q > /dev/null - git config --global --add safe.directory /github/workspace git fetch --all