Skip to content

Commit

Permalink
update pip and merge run commands
Browse files Browse the repository at this point in the history
Signed-off-by: MarkAckert <[email protected]>
  • Loading branch information
MarkAckert committed Dec 2, 2024
1 parent c4fc1d3 commit 0eefaf7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .dockerfiles/ort.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ LABEL version="1.0.0"

USER root

RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y curl bash python3 zip unzip wget software-properties-common python3-pip git
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get update -y && apt-get install -y nodejs openjdk-11-jdk pkg-config
RUN apt-get update -y && apt-get upgrade -y && \
apt-get install -y curl bash python3 zip unzip wget software-properties-common python3-pip git && \
curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get update -y && apt-get install -y nodejs openjdk-11-jdk pkg-config

RUN mkdir /report
RUN mkdir -p /home/build
Expand All @@ -25,7 +25,6 @@ ENV PATH=$PATH:"$HOME/.npm-global/bin"
ENV PATH="$HOME/.cargo/bin:$PATH"

RUN npm install -g yarn

RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -

ENV owasp_version=5.3.2
Expand Down Expand Up @@ -64,8 +63,7 @@ RUN ./gradlew installDist
# RUN unzip ort.zip
ENV PATH=/home/build/ort/cli/build/install/ort/bin:$PATH

RUN pip install git+https://github.com/aboutcode-org/python-inspector --break-system-packages
RUN pip install setuptools --break-system-packages
RUN pip install git+https://github.com/aboutcode-org/python-inspector setuptools

WORKDIR /home/build

Expand Down

0 comments on commit 0eefaf7

Please sign in to comment.