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

Commit

Permalink
nodejs-express: Install ca-certificates when building production image (
Browse files Browse the repository at this point in the history
#838)

* Add ca-certificates to production image to allow SSL verification

* Bump stack version
  • Loading branch information
djones6 authored Jul 1, 2020
1 parent 33376d5 commit 06ea293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion incubator/nodejs-express/image/project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down
2 changes: 1 addition & 1 deletion incubator/nodejs-express/stack.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 06ea293

Please sign in to comment.