Skip to content

Commit

Permalink
Merge pull request #25 from theredguild/tools-fixes-2
Browse files Browse the repository at this point in the history
Adding gitleaks to /usr/local/bin and removing clair
  • Loading branch information
mattaereal authored Oct 8, 2024
2 parents 396b2a3 + a4a57e9 commit 169b63a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ RUN git clone https://github.com/awslabs/git-secrets.git git-secrets \
# Install gitleaks
RUN git clone https://github.com/gitleaks/gitleaks.git gitleaks \
&& cd gitleaks \
&& make build
&& make build \
&& sudo ln -s /src/gitleaks/gitleaks /usr/local/bin

# Install gh-fake-analyzer
# from mattareal until upstream gets patched
Expand Down Expand Up @@ -216,9 +217,9 @@ RUN wget -qO - https://github.com/checkmarx/2ms/releases/latest/download/linux-$
funzip - | sudo tee /usr/local/bin/2ms > /dev/null \
&& sudo chmod +x /usr/local/bin/2ms

# Install clair
RUN sudo wget -qO /usr/local/bin/clair https://github.com/quay/clair/releases/download/v4.7.4/clairctl-linux-$(dpkg --print-architecture) \
&& sudo chmod +x /usr/local/bin/clair
# # Install clair
# RUN sudo wget -qO /usr/local/bin/clair https://github.com/quay/clair/releases/download/v4.7.4/clairctl-linux-$(dpkg --print-architecture) \
# && sudo chmod +x /usr/local/bin/clair

# Install Grype
RUN curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sudo sh -s -- -b /usr/local/bin
Expand All @@ -232,4 +233,4 @@ RUN echo '\ncat /etc/motd\n' >> ~/.zshrc

# Set working directory
WORKDIR /home/${USERNAME}
CMD ["/bin/zsh"]
CMD ["/bin/zsh"]

0 comments on commit 169b63a

Please sign in to comment.