From 8deb1620ac5a968dac863a7ec4fb78cb2ac15cf8 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 5 Apr 2024 08:02:23 +0200 Subject: [PATCH] split download and install command of starship --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2ac6b12..29580ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,9 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ RUN \ echo "**** install starship prompt ****" && \ - curl -sS https://starship.rs/install.sh | sh -s && \ + curl -sS -o /tmp/install.sh https://starship.rs/install.sh && \ + /tmp/install.sh && \ + rm -f /tmp/install.sh && \ echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc ENV STARSHIP_CONFIG=/etc/starship.toml