Skip to content

Commit ede07b6

Browse files
committed
fix(ci): install git in container
With the switch to Alpine in #4185, `--from-last-tag` no longer works. This is because git is no longer available in the container.
1 parent d33cbb7 commit ede07b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile.ci

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RUN yarn install --frozen-lockfile --network-timeout 100000 && \
2626
npm pack @commitlint/config-conventional
2727

2828
FROM docker.io/library/node:18-alpine
29+
RUN apk add --no-cache git
2930
COPY --from=builder /src/*.tgz ./
3031
RUN npm config set fetch-retry-mintimeout 20000 && \
3132
npm config set fetch-retry-maxtimeout 120000 && \

0 commit comments

Comments
 (0)