diff --git a/Dockerfile b/Dockerfile index 24c309d..5168d34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/entrypoint.sh b/entrypoint.sh index cc62b2a..23f25dd 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \ No newline at end of file