File tree Expand file tree Collapse file tree 36 files changed +100
-106
lines changed
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 36 files changed +100
-106
lines changed Original file line number Diff line number Diff line change 231
231
(filter variant-filter (valid-variants ))))
232
232
233
233
(defn run
234
- " Entrypoint for exec-fn. TODO: Make -main use this. "
234
+ " Entrypoint for exec-fn."
235
235
[{:keys [cmd args parallelization]}]
236
236
(logger/start )
237
237
(let [variants (generate-variants args)]
Original file line number Diff line number Diff line change 8
8
#(.setExecutable % true false )))
9
9
10
10
(def distro-deps
11
- {:debian-slim {:build #{" wget " " curl" }
11
+ {:debian-slim {:build #{" curl" }
12
12
:runtime #{" rlwrap" " make" " git" }}
13
- :debian {:build #{" wget" " curl" }
14
- :runtime #{" rlwrap" " make" " git" }}
15
- :ubuntu {:build #{" wget" }
13
+ :debian {:build #{" curl" }
16
14
: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" }}
17
19
:alpine {:build #{" curl" }
18
20
:runtime #{" bash" " make" " git" }}})
19
21
36
38
" RUN \\ " ]
37
39
(concat-commands install-dep-cmds)
38
40
(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"
40
42
" sha256sum linux-install-$CLOJURE_VERSION.sh"
41
43
(str " echo \" " (get-in installer-hashes [" tools-deps" build-tool-version]) " *linux-install-$CLOJURE_VERSION.sh\" | sha256sum -c -" )
42
44
" chmod +x linux-install-$CLOJURE_VERSION.sh"
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ WORKDIR /tmp
50
50
51
51
RUN \
52
52
apt-get update && \
53
- apt-get install -y curl make git rlwrap wget && \
53
+ apt-get install -y curl make git rlwrap && \
54
54
rm -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 && \
56
56
sha256sum linux-install-$CLOJURE_VERSION.sh && \
57
57
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
58
58
chmod +x linux-install-$CLOJURE_VERSION.sh && \
59
59
./linux-install-$CLOJURE_VERSION.sh && \
60
60
rm linux-install-$CLOJURE_VERSION.sh && \
61
61
clojure -e "(clojure-version)" && \
62
- apt-get purge -y --auto-remove curl wget
62
+ apt-get purge -y --auto-remove curl
63
63
64
64
# Docker bug makes rlwrap crash w/o short sleep first
65
65
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ WORKDIR /tmp
10
10
11
11
RUN \
12
12
apt-get update && \
13
- apt-get install -y curl make git rlwrap wget && \
13
+ apt-get install -y curl make git rlwrap && \
14
14
rm -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 && \
16
16
sha256sum linux-install-$CLOJURE_VERSION.sh && \
17
17
echo "7edee5b12197a2dbe6338e672b109b18164cde84bea1f049ceceed41fc4dd10a *linux-install-$CLOJURE_VERSION.sh" | sha256sum -c - && \
18
18
chmod +x linux-install-$CLOJURE_VERSION.sh && \
19
19
./linux-install-$CLOJURE_VERSION.sh && \
20
20
rm linux-install-$CLOJURE_VERSION.sh && \
21
21
clojure -e "(clojure-version)" && \
22
- apt-get purge -y --auto-remove curl wget
22
+ apt-get purge -y --auto-remove curl
23
23
24
24
# Docker bug makes rlwrap crash w/o short sleep first
25
25
# Bug: https://github.com/moby/moby/issues/28009
You can’t perform that action at this time.
0 commit comments