Skip to content

Commit

Permalink
fix(ci): install git in container
Browse files Browse the repository at this point in the history
With the switch to Alpine in #4185, `--from-last-tag` no longer works.
This is because git is no longer available in the container.
  • Loading branch information
jeohist committed Nov 20, 2024
1 parent d33cbb7 commit ede07b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN yarn install --frozen-lockfile --network-timeout 100000 && \
npm pack @commitlint/config-conventional

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

0 comments on commit ede07b6

Please sign in to comment.