Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 06ea293

Browse files
authored
nodejs-express: Install ca-certificates when building production image (#838)
* Add ca-certificates to production image to allow SSL verification * Bump stack version
1 parent 33376d5 commit 06ea293

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

incubator/nodejs-express/image/project/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN cd / && tar czf project.tgz project
2626
FROM node:12-slim
2727

2828
# librdkafka links against libssl
29-
RUN apt-get update && apt-get install -y libssl1.1 && apt-get clean
29+
RUN apt-get update && apt-get install -y libssl1.1 ca-certificates && apt-get clean
3030

3131
# Copy project with dependencies
3232
COPY --chown=node:node --from=0 /project.tgz /

incubator/nodejs-express/stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Node.js Express
2-
version: 0.4.12
2+
version: 0.4.13
33
description: Express web framework for Node.js
44
license: Apache-2.0
55
language: nodejs

0 commit comments

Comments
 (0)