Skip to content

Commit

Permalink
lib64 paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed Dec 3, 2023
1 parent 940c725 commit dd5687c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions unzoner/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ WORKDIR /data

RUN useradd openssl && (passwd -d openssl || true)

ENV PATH="/usr/local/lib64:$PATH"

RUN if [ "$BUILD_OPENSSL" = '1' ]; then \
set -x; git clone --depth 1 --branch openssl-$BUILD_OPENSSL_VERSION https://github.com/openssl/openssl \
&& cd openssl \
Expand All @@ -62,7 +64,7 @@ USER root
RUN (deluser --remove-home openssl && delgroup openssl) || true

RUN if [ "$BUILD_OPENSSL" = '1' ]; then \
set -x; cd openssl && id && make install_sw \
set -x; cd openssl && id && make install_sw && ldconfig /usr/local/lib64/ \
&& /usr/local/ssl/bin/openssl version && ldd /usr/local/ssl/bin/openssl; fi

# https://stackoverflow.com/a/39006247/1559300
Expand Down Expand Up @@ -175,7 +177,7 @@ ENV UDEV on

ENV VIRTUAL_ENV /root/venv3

ENV PATH "$VIRTUAL_ENV/bin:$PATH"
ENV PATH "$VIRTUAL_ENV/bin:/usr/local/lib64:$PATH"

ENV DEBIAN_FRONTEND noninteractive

Expand Down

0 comments on commit dd5687c

Please sign in to comment.