Skip to content

Commit 709931e

Browse files
authored
Simplify curl remote file requests in Dockefile (#500)
1 parent 75afc51 commit 709931e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,15 @@ ENV PATH="/root/bin/opam/ocaml-base-compiler.$OCAML/bin/:${PATH}"
247247

248248
# https://kotlinlang.org/docs/command-line.html
249249
ARG KOTLIN=2.0.21
250-
RUN curl -L -o kotlin-compiler-$KOTLIN.zip \
250+
RUN curl -LO \
251251
https://github.com/JetBrains/kotlin/releases/download/v$KOTLIN/kotlin-compiler-$KOTLIN.zip \
252252
&& unzip kotlin-compiler-$KOTLIN.zip \
253253
&& rm kotlin-compiler-$KOTLIN.zip
254254
ENV PATH="/root/bin/kotlinc/bin/:${PATH}"
255255

256256
# https://download.racket-lang.org/
257257
ARG RACKET=8.14
258-
RUN curl -L -o racket-$RACKET-x86_64-linux-cs.sh \
258+
RUN curl -LO \
259259
https://download.racket-lang.org/installers/$RACKET/racket-$RACKET-x86_64-linux-cs.sh \
260260
&& sh racket-$RACKET-x86_64-linux-cs.sh --unix-style --dest /root/ \
261261
&& rm racket-$RACKET-x86_64-linux-cs.sh
@@ -280,15 +280,15 @@ ENV PATH="/root/bin/luajit/bin:${PATH}"
280280

281281
# https://github.com/vlang/v/releases
282282
ARG VLANG=0.4.8
283-
RUN curl -Lo v_linux.zip \
283+
RUN curl -LO \
284284
https://github.com/vlang/v/releases/download/$VLANG/v_linux.zip \
285285
&& unzip -q v_linux.zip \
286286
&& rm v_linux.zip
287287
ENV PATH="/root/bin/v/:${PATH}"
288288

289289
# https://github.com/odin-lang/Odin/releases
290290
ARG ODIN=2024-11
291-
RUN curl -Lo odin-linux-amd64-dev-$ODIN.zip \
291+
RUN curl -LO \
292292
https://github.com/odin-lang/Odin/releases/download/dev-$ODIN/odin-linux-amd64-dev-$ODIN.zip \
293293
&& unzip -q odin-linux-amd64-dev-$ODIN.zip \
294294
&& tar xf dist.tar.gz \

0 commit comments

Comments
 (0)