Skip to content

Commit

Permalink
Install openssl package on distro image
Browse files Browse the repository at this point in the history
Added install of openssl package to the distro build stage when
using (default) package manager apt.

Solves #314
  • Loading branch information
bramk committed Jun 5, 2023
1 parent 49d468d commit 479dc52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extras/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ ARG GITHUB_ACCOUNT
ARG GITHUB_REPOSITORY
ARG NODE_VERSION
ARG HEADLESS
ARG PACKAGE_MANAGER

WORKDIR /opt/fiware-idm
COPY --from=builder /opt/fiware-idm .
Expand All @@ -226,7 +227,10 @@ ENV IDM_HEADLESS=$HEADLESS

# hadolint ignore=DL3018
RUN \
if [ "${PACKAGE_MANAGER}" = "apk" ]; then \
if [ "${PACKAGE_MANAGER}" = "apt" ]; then \
apt-get update; \
apt-get install -y --no-install-recommends openssl; \
elif [ "${PACKAGE_MANAGER}" = "apk" ]; then \
apk add --no-cache ca-certificates bash openssl; \
fi

Expand Down

0 comments on commit 479dc52

Please sign in to comment.