Skip to content

Commit

Permalink
Merge pull request #330 from bramk/install-openssl-on-distro
Browse files Browse the repository at this point in the history
Install openssl package on distro image
  • Loading branch information
apozohue10 authored Jun 9, 2023
2 parents d08c1aa + 479dc52 commit 68bc0a0
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 68bc0a0

Please sign in to comment.