Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Kozlowski <marcinguy@gmail.com>
  • Loading branch information
marcinguy authored Jan 11, 2025
1 parent 7f23c84 commit ff86755
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/docker/worker-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM debian:bookworm-slim AS builder
FROM python:3.8-slim AS builder

ARG DEBIAN_FRONTEND=noninteractive
ENV SHELL=/bin/bash
ENV PIPENV_IGNORE_VIRTUALENVS=1
ENV PIP_ROOT_USER_ACTION=ignore


RUN apt-get update && apt-get install -y ca-certificates curl tar libssl-dev git ssh rubygems python3-pip pipenv python3-venv unzip jq gcc build-essential
RUN apt-get update && apt-get install -y ca-certificates curl tar libssl-dev git ssh rubygems python3-pip pipenv unzip jq gcc build-essential


# Install Go
Expand All @@ -30,7 +30,7 @@ ENV PATH=$PATH:/usr/local/go/bin
# Install Ruby and npm packages
RUN gem install brakeman

RUN python3 -m venv path/to/venv && source venv/bin/activate && pip install pip && pip install bandit && pip install checkmate5 && pip install git+https://github.com/tcosolutions/aigraphcodescan
RUN pip install pip && pip install bandit && pip install checkmate5 && pip install git+https://github.com/tcosolutions/aigraphcodescan

# Clone and install other repositories
RUN git clone https://github.com/tcosolutions/betterscan.git /srv/betterscan
Expand All @@ -40,3 +40,4 @@ RUN curl https://raw.githubusercontent.com/aquasecurity/tfsec/master/scripts/ins
curl https://raw.githubusercontent.com/armosec/kubescape/master/install.sh | bash



0 comments on commit ff86755

Please sign in to comment.