Skip to content

Commit 0967dac

Browse files
authored
fix: use node20-bookworm-slim runner to fix temporalio glibc compatibility error (#1804)
Signed-off-by: anilb <epipav@gmail.com>
1 parent 8b7a2e0 commit 0967dac

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • workers/temporal/vulnerability_enrichment_worker

workers/temporal/vulnerability_enrichment_worker/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ COPY ./workers/temporal/vulnerability_enrichment_worker ./workers/temporal/vulne
1515

1616
RUN pnpm i --frozen-lockfile
1717

18-
FROM node:24-alpine AS runner
18+
FROM node:20-bookworm-slim AS runner
1919

2020
WORKDIR /usr/insights/app
2121
RUN npm install -g corepack@latest && \
2222
corepack enable pnpm && \
2323
corepack prepare pnpm@10.12.4 --activate && \
24-
apk add --no-cache ca-certificates
24+
apt update && \
25+
apt install -y ca-certificates --no-install-recommends && \
26+
rm -rf /var/lib/apt/lists/*
2527

2628
COPY --from=builder /usr/insights/app/node_modules ./node_modules
2729
COPY --from=builder /usr/insights/app/submodules ./submodules

0 commit comments

Comments
 (0)