Skip to content

Commit

Permalink
try running make test as nonroot user
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Nov 8, 2024
1 parent d9dc594 commit f51c531
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/manylinux2014-openssl.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ WORKDIR $OPENSSL_TAR_NAME
ARG OPENSSL_INSTALL_DIR=/opt/openssl3
RUN ./Configure --prefix=$OPENSSL_INSTALL_DIR --openssldir=/etc/opt/openssl3
RUN make
# There are 2 expected tests to fail
# RUN make test

RUN useradd nonroot
USER nonroot

RUN make test

USER root

RUN make install
RUN ln -s $OPENSSL_INSTALL_DIR/lib64/libssl.so.3 /usr/local/lib64/libssl.so.3
RUN ln -s $OPENSSL_INSTALL_DIR/lib64/libcrypto.so.3 /usr/local/lib64/libcrypto.so.3

0 comments on commit f51c531

Please sign in to comment.