File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ ENV DEBIAN_FRONTEND=noninteractive
4+
5+ # Install Python 3.10 (and alias python→python3.10), pip, and prerequisites
6+ # Also install C++ compiler and make for building Kojiro
7+ RUN apt-get update \
8+ && apt-get install -y --no-install-recommends \
9+ curl ca-certificates python3.10 python3.10-venv \
10+ python3-pip python-is-python3 wget git build-essential \
11+ g++ make jq curl locales \
12+ && rm -rf /var/lib/apt/lists/*
13+
14+ # Clone Kojiro repository
15+ RUN git clone https://github.com/Babak-SSH/Kojiro.git /workspace \
16+ && cd /workspace \
17+ && git remote set-url origin https://github.com/Babak-SSH/Kojiro.git
18+
19+ # Clone and build Fastchess
20+ RUN git clone https://github.com/Disservin/fastchess.git /tmp/fastchess \
21+ && cd /tmp/fastchess \
22+ && make -j \
23+ && install -d /usr/local/bin \
24+ && install fastchess /usr/local/bin/fastchess \
25+ && rm -rf /tmp/fastchess
26+
27+ WORKDIR /workspace
28+
You can’t perform that action at this time.
0 commit comments