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

Commit

Permalink
Use ppigazzini's download script to download the optimal binary from …
Browse files Browse the repository at this point in the history
…GitHub

Signed-off-by: Đinh Hoàng Việt <134517889+M-DinhHoangViet@users.noreply.github.com>
  • Loading branch information
M-DinhHoangViet committed Jan 16, 2024
1 parent ac494b7 commit 4df4fa7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ COPY . .
RUN apt-get update && apt-get upgrade -y
RUN pip --no-cache-dir install -U pip && pip --no-cache-dir install -r requirements.txt

# Stockfish - Depending on your CPU it may be necessary to pick a binary other than bmi2
RUN wget https://abrok.eu/stockfish/latest/linux/stockfish_x64_bmi2.zip -O stockfish.zip
RUN unzip stockfish.zip && rm stockfish.zip
RUN mv stockfish_* ./stockfish && chmod +x ./stockfish
RUN curl -sSL https://raw.githubusercontent.com/ppigazzini/stockfish-downloader/main/posix_helper.sh | sh -s
RUN tar -xf stockfish-*.tar && rm stockfish-*.tar
RUN mv stockfish/stockfish-* engines/stockfish && rm -r stockfish

# Fairy-Stockfish - Depending on your CPU it may be necessary to pick a binary other than bmi2
# To use Fairy-Stockfish, uncomment the following lines and adjust config.yml.default accordingly
Expand Down

0 comments on commit 4df4fa7

Please sign in to comment.