fix starship prompt installation #95

Merged
OCram85 merged 5 commits from remove/portainerTrigger into master 2024-04-05 08:15:11 +02:00
2 changed files with 14 additions and 10 deletions

View File

@ -82,15 +82,16 @@ steps:
when: when:
event: [pull_request] event: [pull_request]
triggerPortainer: # disabled for Portainer-EE: Can handle image tag updates without manual redeploy
image: ocram85/portainer-serviceupdate #triggerPortainer:
settings: # image: ocram85/portainer-serviceupdate
VERBOSE: true # settings:
URI: "https://portainer.ocram85.com" # VERBOSE: true
TOKEN: # URI: "https://portainer.ocram85.com"
from_secret: NEXT_TOKEN # TOKEN:
when: # from_secret: NEXT_TOKEN
event: [pull_request] # when:
# event: [pull_request]
gitea-release: gitea-release:
image: plugins/gitea-release image: plugins/gitea-release

View File

@ -19,7 +19,10 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ
RUN \ RUN \
echo "**** install starship prompt ****" && \ echo "**** install starship prompt ****" && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \ curl -sS -o /tmp/install.sh https://starship.rs/install.sh && \
chmod +x /tmp/install.sh && \
/tmp/install.sh --verbose --force --version latest && \
rm -f /tmp/install.sh && \
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml ENV STARSHIP_CONFIG=/etc/starship.toml