Skip to content

Commit

Permalink
do setup as nonroot
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Nov 8, 2024
1 parent f51c531 commit 78406c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manylinux2014-openssl.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM quay.io/pypa/manylinux2014_x86_64
ARG OPENSSL_VERSION
LABEL com.aerospike.clients.openssl-version=$OPENSSL_VERSION

RUN useradd nonroot
USER nonroot

# https://computingforgeeks.com/how-to-install-openssl-3-x-on-centos-rhel-7/
RUN yum install -y perl-Text-Template.noarch perl-IPC-Cmd perl-Test-Simple wget

Expand All @@ -19,9 +22,6 @@ ARG OPENSSL_INSTALL_DIR=/opt/openssl3
RUN ./Configure --prefix=$OPENSSL_INSTALL_DIR --openssldir=/etc/opt/openssl3
RUN make

RUN useradd nonroot
USER nonroot

RUN make test

USER root
Expand Down

0 comments on commit 78406c0

Please sign in to comment.