From f51c531d8a691b88deb925129f579bb539db7e13 Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:15:05 -0800 Subject: [PATCH] try running make test as nonroot user --- .github/workflows/manylinux2014-openssl.Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manylinux2014-openssl.Dockerfile b/.github/workflows/manylinux2014-openssl.Dockerfile index a963b675a..e708cddfe 100644 --- a/.github/workflows/manylinux2014-openssl.Dockerfile +++ b/.github/workflows/manylinux2014-openssl.Dockerfile @@ -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