Skip to content

Commit

Permalink
Fixing some issues with fake analyzer and trufflehog
Browse files Browse the repository at this point in the history
  • Loading branch information
mattaereal committed Oct 8, 2024
1 parent 552e47f commit 801aeae
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ RUN git clone https://github.com/gitleaks/gitleaks.git gitleaks \
&& make build

# Install gh-fake-analyzer
RUN git clone https://github.com/shortdoom/gh-fake-analyzer.git \
# from mattareal until upstream gets patched
RUN git clone https://github.com/mattaereal/gh-fake-analyzer.git \
&& cd gh-fake-analyzer \
&& mv .env.example .env \
&& python3 -m venv gfa \
&& source gfa/bin/activate \
&& pip install -r requirements.txt \
Expand Down Expand Up @@ -190,8 +190,7 @@ RUN wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --
&& sudo apt-get update && sudo apt-get install -y trivy

# Install Trufflehog
RUN wget -qO - https://github.com/trufflesecurity/trufflehog/releases/download/v3.82.6/trufflehog_3.82.6_linux_$(dpkg --print-architecture).tar.gz | \
sudo tar -xzf - trufflehog -C /usr/local/bin
RUN curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh | sh -s -- -b /usr/local/bin

# Install hadolint
RUN arch=$(dpkg --print-architecture) \
Expand All @@ -208,7 +207,7 @@ RUN curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh |
RUN DEPCHECK_VERSION=$(curl -s https://jeremylong.github.io/DependencyCheck/current.txt) \
&& curl -Ls "https://github.com/jeremylong/DependencyCheck/releases/download/v${DEPCHECK_VERSION}/dependency-check-${DEPCHECK_VERSION}-release.zip" \
--output dependency-check.zip \
&& unzip dependency-check.zip \
&& unzip dependency-check.zip && rm -f dependency-check.zip \
&& chmod +x dependency-check/bin/dependency-check.sh \
&& sudo ln -s /src/dependency-check/bin/dependency-check.sh /usr/local/bin/dependency-check

Expand Down

0 comments on commit 801aeae

Please sign in to comment.