diff --git a/.changeset/fix-dockerfile-install-git.md b/.changeset/fix-dockerfile-install-git.md new file mode 100644 index 000000000..e62af4789 --- /dev/null +++ b/.changeset/fix-dockerfile-install-git.md @@ -0,0 +1,5 @@ +--- +"lingo.dev": patch +--- + +Install `git` in the `lingodotdev/ci-action` Docker image so `lingo.dev ci` works in runners that do not already provide it (e.g. GitLab CI using the image directly). diff --git a/Dockerfile b/Dockerfile index 9dc77c540..c8c9d431a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM node:20.12.2-alpine +# git is required by `lingo.dev ci` (configureGit) and is not included in the +# node:alpine base image. +RUN apk add --no-cache git + # Run the Node.js / TypeScript application ENTRYPOINT ["sh", "-c", "npx lingo.dev@latest ci \ --api-key \"$LINGODOTDEV_API_KEY\" \