diff --git a/docker/bbpPairings.Dockerfile b/docker/bbpPairings.Dockerfile index b5a29c19..1e082fc7 100644 --- a/docker/bbpPairings.Dockerfile +++ b/docker/bbpPairings.Dockerfile @@ -1,10 +1,5 @@ -FROM ubuntu:focal +FROM sbtscala/scala-sbt:eclipse-temurin-alpine-21.0.2_13_1.10.4_3.5.2 -RUN apt-get update && \ - apt-get install --yes \ - g++ \ - git \ - make \ - && apt-get clean +RUN apk add build-base WORKDIR /mnt diff --git a/lila-docker b/lila-docker index 7b70b65c..d8d38eb9 100755 --- a/lila-docker +++ b/lila-docker @@ -139,7 +139,8 @@ setup_bbppairings() { docker run --rm -v ./repos/bbpPairings:/mnt bbppairings make ## verify it compiled - ./repos/bbpPairings/bbpPairings.exe + docker compose run --rm --entrypoint="/opt/bbpPairings/bbpPairings.exe" lila \ + && echo "✅ bbpPairings compiled successfully" } reset_database() {