split download and install command of starship
ci/woodpecker/pr/ci Pipeline failed Details

This commit is contained in:
OCram85 2024-04-05 08:02:23 +02:00
parent f2851e603e
commit 8deb1620ac
1 changed files with 3 additions and 1 deletions

View File

@ -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