Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix maven-dependency-submission-linux #14

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ FROM clojure:lein-slim-bullseye
LABEL com.github.actions.name="Dependabot for Clojure projects" \
com.github.actions.description="Run Dependabot as GitHub Action workflow in your Clojure project."

# Install maven, antq, maven-dependency-submission cli, clojure, and gh cli
# Install maven, antq, maven-dependency-submission cli 2.0.1, clojure, and gh cli
RUN apt update && \
apt install maven libmaven-dependency-plugin-java curl jq git build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev libbz2-dev -y && \
rm -rf /var/lib/apt/lists/* && \
curl -O https://download.clojure.org/install/linux-install-1.11.1.1165.sh && \
chmod +x linux-install-1.11.1.1165.sh && \
./linux-install-1.11.1.1165.sh && \
curl -L -o maven-dependency-submission-linux-x64 https://github.com/advanced-security/maven-dependency-submission-action/raw/main/cli/maven-dependency-submission-linux-x64 && \
curl --retry 5 --retry-max-time 120 --fail-with-body -L -o maven-dependency-submission-linux-x64 https://github.com/advanced-security/maven-dependency-submission-action/raw/2ecce44ccb44fd4b52f43468d3644e2d3e2b3cf2/cli/maven-dependency-submission-linux-x64 && \
chmod +x maven-dependency-submission-linux-x64 && \
mv maven-dependency-submission-linux-x64 /usr/bin/maven-dependency-submission-linux-x64 && \
clojure -Ttools install-latest :lib com.github.liquidz/antq :as antq && \
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ chmod +x /alerts_summary.sh
/alerts_summary.sh deps.edn
chmod +x /antq.sh
/antq.sh project.clj
/antq.sh deps.edn
/antq.sh deps.edn