Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 committed Jul 8, 2023
1 parent 256c048 commit 218939a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /src/downloader

RUN apt-get update && apt-get install -y jq wget curl
RUN curl https://api.github.com/repos/tuna2134/aquestts/releases | jq .[0].name
RUN export VERSION=$(curl https://api.github.com/repos/tuna2134/aquestts/releases | jq .[0].name) && \
RUN export VERSION=$(curl https://api.github.com/repos/tuna2134/aquestts/releases | jq -r .[0].name) && \
echo $VERSION && \
wget --trust-server-names https://github.com/tuna2134/aquestts/releases/download/${VERSION}/bot

Expand Down

0 comments on commit 218939a

Please sign in to comment.