File tree Expand file tree Collapse file tree
debian-bookworm-11/tools-deps
debian-bookworm-17/tools-deps
debian-bookworm-22/tools-deps
debian-bookworm-8/tools-deps
debian-bookworm-slim-11/tools-deps
debian-bookworm-slim-17/tools-deps
debian-bookworm-slim-21/tools-deps
debian-bookworm-slim-22/tools-deps
debian-bookworm-slim-8/tools-deps
debian-bullseye-11/tools-deps
debian-bullseye-17/tools-deps
debian-bullseye-21/tools-deps
debian-bullseye-22/tools-deps
debian-bullseye-8/tools-deps
debian-bullseye-slim-11/tools-deps
debian-bullseye-slim-17/tools-deps
debian-bullseye-slim-21/tools-deps
debian-bullseye-slim-22/tools-deps
debian-bullseye-slim-8/tools-deps
eclipse-temurin-11-jdk-alpine/tools-deps
eclipse-temurin-11-jdk-focal/tools-deps
eclipse-temurin-11-jdk-jammy/tools-deps
eclipse-temurin-17-jdk-alpine/tools-deps
eclipse-temurin-17-jdk-focal/tools-deps
eclipse-temurin-17-jdk-jammy/tools-deps
eclipse-temurin-21-jdk-alpine/tools-deps
eclipse-temurin-21-jdk-jammy/tools-deps
eclipse-temurin-22-jdk-alpine/tools-deps
eclipse-temurin-22-jdk-jammy/tools-deps
eclipse-temurin-8-jdk-alpine/tools-deps
eclipse-temurin-8-jdk-focal/tools-deps
eclipse-temurin-8-jdk-jammy/tools-deps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 231231 (filter variant-filter (valid-variants ))))
232232
233233(defn run
234- " Entrypoint for exec-fn. TODO: Make -main use this. "
234+ " Entrypoint for exec-fn."
235235 [{:keys [cmd args parallelization]}]
236236 (logger/start )
237237 (let [variants (generate-variants args)]
Original file line number Diff line number Diff line change 88 #(.setExecutable % true false )))
99
1010(def distro-deps
11- {:debian-slim {:build #{" wget " " curl" }
11+ {:debian-slim {:build #{" curl" }
1212 :runtime #{" rlwrap" " make" " git" }}
13- :debian {:build #{" wget" " curl" }
14- :runtime #{" rlwrap" " make" " git" }}
15- :ubuntu {:build #{" wget" }
13+ :debian {:build #{" curl" }
1614 :runtime #{" rlwrap" " make" " git" }}
15+ :ubuntu {:build #{}
16+ ; ; install curl as a runtime dep b/c we need it at build time
17+ ; ; but upstream includes it so we don't want to uninstall it
18+ :runtime #{" rlwrap" " make" " git" " curl" }}
1719 :alpine {:build #{" curl" }
1820 :runtime #{" bash" " make" " git" }}})
1921
3638 " RUN \\ " ]
3739 (concat-commands install-dep-cmds)
3840 (concat-commands
39- [" wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh"
41+ [" curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh"
4042 " sha256sum linux-install-$CLOJURE_VERSION.sh"
4143 (str " echo \" " (get-in installer-hashes [" tools-deps" build-tool-version]) " *linux-install-$CLOJURE_VERSION.sh\" | sha256sum -c -" )
4244 " chmod +x linux-install-$CLOJURE_VERSION.sh"
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ WORKDIR /tmp
5050
5151RUN \
5252apt-get update && \
53- apt-get install -y curl make git rlwrap wget && \
53+ apt-get install -y curl make git rlwrap && \
5454rm -rf /var/lib/apt/lists/* && \
55- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
55+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
5656sha256sum linux-install-$CLOJURE_VERSION.sh && \
5757echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
5858chmod +x linux-install-$CLOJURE_VERSION.sh && \
5959./linux-install-$CLOJURE_VERSION.sh && \
6060rm linux-install-$CLOJURE_VERSION.sh && \
6161clojure -e "(clojure-version)" && \
62- apt-get purge -y --auto-remove curl wget
62+ apt-get purge -y --auto-remove curl
6363
6464# Docker bug makes rlwrap crash w/o short sleep first
6565# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
1010
1111RUN \
1212apt-get update && \
13- apt-get install -y curl make git rlwrap wget && \
13+ apt-get install -y curl make git rlwrap && \
1414rm -rf /var/lib/apt/lists/* && \
15- wget https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
15+ curl -sLO https://download.clojure.org/install/linux-install-$CLOJURE_VERSION.sh && \
1616sha256sum linux-install-$CLOJURE_VERSION.sh && \
1717echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
1818chmod +x linux-install-$CLOJURE_VERSION.sh && \
1919./linux-install-$CLOJURE_VERSION.sh && \
2020rm linux-install-$CLOJURE_VERSION.sh && \
2121clojure -e "(clojure-version)" && \
22- apt-get purge -y --auto-remove curl wget
22+ apt-get purge -y --auto-remove curl
2323
2424# Docker bug makes rlwrap crash w/o short sleep first
2525# Bug: https://github.com/moby/moby/issues/28009
You can’t perform that action at this time.
0 commit comments