Skip to content

Commit d6ba6e4

Browse files
committed
Install ca-certificates in Docker image
The Debian images that the node images are based on don't include ca-certificates out of the box. That means TLS connections can't be made to Redis or any other service that might be accessed from the container. https://phabricator.endlessm.com/T35349
1 parent 203a6b2 commit d6ba6e4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# SPDX-License-Identifier: GPL-2.0-or-later
33

44
FROM node:10-buster-slim
5+
6+
# Make sure ca-certificates is installed so TLS connections can be made.
7+
RUN export DEBIAN_FRONTEND=noninteractive && \
8+
apt-get update && \
9+
apt-get install -y ca-certificates && \
10+
apt-get clean
11+
512
COPY . /opt/eos-activation-server
613
WORKDIR /opt/eos-activation-server
714
ENV NODE_ENV test

0 commit comments

Comments
 (0)