Skip to content

Commit

Permalink
Enable safe pip install flag
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jul 30, 2024
1 parent e83fdc8 commit 323f3ac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions cdxgen/Dockerfile.python
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ENV NVM_DIR="/root/.nvm" \
CDXGEN_NO_BANNER=true \
FETCH_LICENSE=true \
CDXGEN_IN_CONTAINER=true \
SAFE_PIP_INSTALL=true \
PATH=${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:

RUN source /root/.nvm/nvm.sh \
Expand Down
1 change: 1 addition & 0 deletions cdxgen/Dockerfile.python310
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ LABEL maintainer="AppThreat" \

ENV CDXGEN_NO_BANNER=true \
CDXGEN_IN_CONTAINER=true \
SAFE_PIP_INSTALL=true \
FETCH_LICENSE=true

RUN zypper --non-interactive install --allow-downgrade -l --no-recommends readline-devel clang13 llvm13 llvm13-devel libjpeg62-devel libmariadb-devel \
Expand Down
1 change: 1 addition & 0 deletions cdxgen/Dockerfile.python311
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ENV NVM_DIR="/root/.nvm" \
CDXGEN_NO_BANNER=true \
FETCH_LICENSE=true \
CDXGEN_IN_CONTAINER=true \
SAFE_PIP_INSTALL=true \
PATH=${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:

RUN source /root/.nvm/nvm.sh \
Expand Down
1 change: 1 addition & 0 deletions cdxgen/Dockerfile.python36
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ENV NVM_DIR="/root/.nvm" \
CDXGEN_NO_BANNER=true \
FETCH_LICENSE=true \
CDXGEN_IN_CONTAINER=true \
SAFE_PIP_INSTALL=true \
PATH=${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:

RUN source /root/.nvm/nvm.sh \
Expand Down
1 change: 1 addition & 0 deletions cdxgen/Dockerfile.python39
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ LABEL maintainer="AppThreat" \

ENV CDXGEN_NO_BANNER=true \
CDXGEN_IN_CONTAINER=true \
SAFE_PIP_INSTALL=true \
FETCH_LICENSE=true

RUN zypper --non-interactive install --allow-downgrade -l --no-recommends readline-devel clang13 llvm13 llvm13-devel libjpeg62-devel libmariadb-devel \
Expand Down

0 comments on commit 323f3ac

Please sign in to comment.