Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmaurice authored Jul 14, 2024
1 parent d41a286 commit f3beb29
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,22 @@ RUN apk update && apk upgrade && \
apk add --no-cache icu-libs libstdc++ && \
rm -rf /var/cache/apk/*

# Download Jackett
RUN case $(uname -m) in \
x86_64) \
wget -O /tmp/jacket.tar.gz https://github.com/Jackett/Jackett/releases/download/${RELEASE_TAG}/Jackett.Binaries.LinuxMuslAMDx64.tar.gz \
;; \
aarch64) \
wget -O /tmp/jacket.tar.gz https://github.com/Jackett/Jackett/releases/download/${RELEASE_TAG}/Jackett.Binaries.LinuxMuslARM64.tar.gz \
;; \
*) \
echo "Unsupported architecture > $(uname -m)" \
exit 1 \
;; \
esac

# Install Jackett
RUN wget -O /tmp/jacket.tar.gz https://github.com/Jackett/Jackett/releases/download/${RELEASE_TAG}/Jackett.Binaries.LinuxMuslAMDx64.tar.gz \
&& tar -xvzf /tmp/jacket.tar.gz -C /opt \
&& rm -rf /tmp/*
RUN tar -xvzf /tmp/jacket.tar.gz -C /opt && rm -rf /tmp/*

WORKDIR /config

Expand Down

0 comments on commit f3beb29

Please sign in to comment.