Skip to content

Commit

Permalink
Make curl fail fast on errors and display them
Browse files Browse the repository at this point in the history
  • Loading branch information
cap10morgan committed Apr 11, 2024
1 parent 513d5b7 commit 1b0c641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker_clojure/dockerfile/tools_deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"RUN \\"]
(concat-commands install-dep-cmds)
(concat-commands
["curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh"
["curl -fsSLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh"
"sha256sum linux-install-$CLOJURE_VERSION.sh"
(str "echo \"" (get-in installer-hashes ["tools-deps" build-tool-version]) " *linux-install-$CLOJURE_VERSION.sh\" | sha256sum -c -")
"chmod +x linux-install-$CLOJURE_VERSION.sh"
Expand Down

0 comments on commit 1b0c641

Please sign in to comment.