From 06ea2933df2b6f831fef31ddcbe24c7e0135170c Mon Sep 17 00:00:00 2001 From: David Jones Date: Wed, 1 Jul 2020 16:05:26 +0100 Subject: [PATCH] nodejs-express: Install ca-certificates when building production image (#838) * Add ca-certificates to production image to allow SSL verification * Bump stack version --- incubator/nodejs-express/image/project/Dockerfile | 2 +- incubator/nodejs-express/stack.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/nodejs-express/image/project/Dockerfile b/incubator/nodejs-express/image/project/Dockerfile index 254faf621..874241ae8 100644 --- a/incubator/nodejs-express/image/project/Dockerfile +++ b/incubator/nodejs-express/image/project/Dockerfile @@ -26,7 +26,7 @@ RUN cd / && tar czf project.tgz project FROM node:12-slim # librdkafka links against libssl -RUN apt-get update && apt-get install -y libssl1.1 && apt-get clean +RUN apt-get update && apt-get install -y libssl1.1 ca-certificates && apt-get clean # Copy project with dependencies COPY --chown=node:node --from=0 /project.tgz / diff --git a/incubator/nodejs-express/stack.yaml b/incubator/nodejs-express/stack.yaml index 43ff5549a..e28b8b096 100644 --- a/incubator/nodejs-express/stack.yaml +++ b/incubator/nodejs-express/stack.yaml @@ -1,5 +1,5 @@ name: Node.js Express -version: 0.4.12 +version: 0.4.13 description: Express web framework for Node.js license: Apache-2.0 language: nodejs