Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 authored Feb 1, 2024
1 parent 2c11185 commit b4f1e61
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 @@ -4,8 +4,8 @@ WORKDIR /src

RUN apt-get update && apt-get install -y curl jq
RUN export VERSION=$(curl https://api.github.com/repos/jagrosh/MusicBot/releases | jq .[0].tag_name)
RUN echo "Version: $(VERSION)"
RUN curl -L -o JMusicBot.jar https://github.com/jagrosh/MusicBot/releases/download/$(VERSION)/JMusicBot-$(VERSION).jar
RUN echo "Version: $VERSION"
RUN curl -L -o JMusicBot.jar https://github.com/jagrosh/MusicBot/releases/download/$VERSION/JMusicBot-$VERSION.jar

FROM debian

Expand Down

0 comments on commit b4f1e61

Please sign in to comment.