Skip to content

Commit b9d64e8

Browse files
committed
fix(ci-action): install git in Dockerfile so lingo.dev ci works outside GitHub runners
Closes #2074
1 parent 873e773 commit b9d64e8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"lingo.dev": patch
3+
---
4+
5+
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).

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM node:20.12.2-alpine
22

3+
# git is required by `lingo.dev ci` (configureGit) and is not included in the
4+
# node:alpine base image.
5+
RUN apk add --no-cache git
6+
37
# Run the Node.js / TypeScript application
48
ENTRYPOINT ["sh", "-c", "npx lingo.dev@latest ci \
59
--api-key \"$LINGODOTDEV_API_KEY\" \

0 commit comments

Comments
 (0)