Skip to content

Commit d1f5821

Browse files
sntiwari1claude
andcommitted
Fix identity-service: rewrite SSH GitHub URLs to HTTPS for yarn
Some deps (digitalcredentials/jsonld.js) use ssh://git@github.com/ URLs. Alpine CI runners have no SSH keys, so rewrite to HTTPS at build time. Also add openssh-client so git can handle any remaining SSH probes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6df809f commit d1f5821

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

services/identity-service/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM node:20.11.0-alpine3.18 AS install
22
WORKDIR /app
3-
RUN apk add --no-cache git
3+
RUN apk add --no-cache git openssh-client
4+
RUN git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
45
COPY package.json yarn.lock ./
56
RUN yarn
67

0 commit comments

Comments
 (0)