Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix: update portfolio performance repo url (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
maroskukan authored Jun 19, 2024
1 parent 94ca587 commit 61ecf86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ ENV APP_NAME=${APP_NAME:-"Portfolio Performance"}

# Download & install App
## if $VERSION is not set via --build-arg -> fetch latest PP version
RUN export VERSION=${VERSION:-$(curl --silent "https://api.github.com/repos/buchen/portfolio/releases/latest" |grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')} && \
cd /opt && wget https://github.com/buchen/portfolio/releases/download/${VERSION}/PortfolioPerformance-${VERSION}-linux.gtk.x86_64.tar.gz && \
RUN export VERSION=${VERSION:-$(curl --silent "https://api.github.com/repos/portfolio-performance/portfolio/releases/latest" |grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')} && \
cd /opt && wget https://github.com/portfolio-performance/portfolio/releases/download/${VERSION}/PortfolioPerformance-${VERSION}-linux.gtk.x86_64.tar.gz && \
tar xvzf PortfolioPerformance-${VERSION}-linux.gtk.x86_64.tar.gz && \
rm PortfolioPerformance-${VERSION}-linux.gtk.x86_64.tar.gz

Expand Down

0 comments on commit 61ecf86

Please sign in to comment.