From eb39348ae770efd0e16b29577c4e0e509f3a665f Mon Sep 17 00:00:00 2001 From: Kit Chan Date: Sun, 25 Oct 2026 19:58:46 -0700 Subject: [PATCH] Install curl in all node:20-alpine test app images The integration test setup runs curl inside the app1 and app2 pods to smoke-test the backends before the suite starts. node:20-alpine does not ship curl, unlike the Debian-based node:8 image used before #387, so kubectl exec failed with 'executable file not found in $PATH' and all 31 tests errored in setup_module. Add curl to every Node image under k8s/images so the apps behave the same way regardless of which one the tests exec into. Co-Authored-By: Claude Fable 5.1 --- k8s/images/caching-app/Dockerfile | 2 ++ k8s/images/node-app-1/Dockerfile | 2 ++ k8s/images/node-app-2/Dockerfile | 2 ++ k8s/images/node-app-3/Dockerfile | 2 ++ k8s/images/node-app-4/Dockerfile | 2 ++ 5 files changed, 10 insertions(+) diff --git a/k8s/images/caching-app/Dockerfile b/k8s/images/caching-app/Dockerfile index 97e5a547..4c36adde 100644 --- a/k8s/images/caching-app/Dockerfile +++ b/k8s/images/caching-app/Dockerfile @@ -16,6 +16,8 @@ FROM node:20-alpine +RUN apk add --no-cache curl + WORKDIR /usr/src/app COPY package*.json ./ diff --git a/k8s/images/node-app-1/Dockerfile b/k8s/images/node-app-1/Dockerfile index 97e5a547..4c36adde 100644 --- a/k8s/images/node-app-1/Dockerfile +++ b/k8s/images/node-app-1/Dockerfile @@ -16,6 +16,8 @@ FROM node:20-alpine +RUN apk add --no-cache curl + WORKDIR /usr/src/app COPY package*.json ./ diff --git a/k8s/images/node-app-2/Dockerfile b/k8s/images/node-app-2/Dockerfile index 97e5a547..4c36adde 100644 --- a/k8s/images/node-app-2/Dockerfile +++ b/k8s/images/node-app-2/Dockerfile @@ -16,6 +16,8 @@ FROM node:20-alpine +RUN apk add --no-cache curl + WORKDIR /usr/src/app COPY package*.json ./ diff --git a/k8s/images/node-app-3/Dockerfile b/k8s/images/node-app-3/Dockerfile index 68964b79..018a436d 100644 --- a/k8s/images/node-app-3/Dockerfile +++ b/k8s/images/node-app-3/Dockerfile @@ -17,6 +17,8 @@ # Dockerfile FROM node:20-alpine +RUN apk add --no-cache curl + WORKDIR /usr/src/app COPY package*.json ./ diff --git a/k8s/images/node-app-4/Dockerfile b/k8s/images/node-app-4/Dockerfile index 68964b79..018a436d 100644 --- a/k8s/images/node-app-4/Dockerfile +++ b/k8s/images/node-app-4/Dockerfile @@ -17,6 +17,8 @@ # Dockerfile FROM node:20-alpine +RUN apk add --no-cache curl + WORKDIR /usr/src/app COPY package*.json ./