Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-dockerfile-install-git.md
Original file line number Diff line number Diff line change
@@ -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).
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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\" \
Expand Down
Loading