Skip to content

Commit

Permalink
fix lockfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Aug 2, 2023
1 parent 1e8a1b4 commit ab01939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ RUN apk add --no-cache ca-certificates tzdata tini git && \

WORKDIR /src
ENV GIT_DIR=/src/.git
ENTRYPOINT ["tini", "--", "sh", "-c", "while true; do (rm -rf /src/.git/index.lock && git fetch origin && git reset --hard origin && sleep 30) || exit 1; done || exit 1"]
ENTRYPOINT ["tini", "--", "sh", "-c", "while true; do (rm -rf /src/.git/*.lock && git fetch origin && git reset --hard origin && sleep 30) || exit 1; done || exit 1"]
HEALTHCHECK CMD (rm -rf /src/.git/index.lock && git fetch origin > /dev/null 2>&1 && git reset --hard origin > /dev/null 2>&1) || exit 1

0 comments on commit ab01939

Please sign in to comment.