From 91ae9a5c8d5380da10c7f21a972d021edc1d73b5 Mon Sep 17 00:00:00 2001 From: Truong Nguyen Date: Sat, 2 Nov 2024 22:39:06 +1100 Subject: [PATCH] update to stockfish 17 --- .github/workflows/docker-image.yml | 2 +- Dockerfile | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2d795c2..2330423 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,7 +15,7 @@ jobs: packages: write strategy: matrix: - version: [15.1, 14.1, 16] + version: [15.1, 14.1, 16, 17] runs-on: ubuntu-latest diff --git a/Dockerfile b/Dockerfile index 670cd36..834f544 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM node:18-buster-slim as builder -ARG VERSION=16.0 +ARG VERSION=17.0 ARG BUILD_PROFILE=x86-64-avx2 WORKDIR /chess @@ -14,9 +14,9 @@ WORKDIR /chess/Stockfish-sf_$VERSION/src RUN make net && make build ARCH=$BUILD_PROFILE -FROM node:18-buster-slim -ARG NODE_VERSION=18 -ARG VERSION=16 +FROM node:20-buster-slim +ARG NODE_VERSION=20 +ARG VERSION=17 WORKDIR /app COPY --from=builder /chess/Stockfish-sf_$VERSION/src/stockfish ./stockfish ENV NODE_ENV=production