blob: d7b985fe28f9a78def1f3725cc2518057000b232 [file] [log] [blame]
Nico Huberd3bfc6a2026-04-11 20:51:50 +00001FROM debian:trixie
2
3RUN apt-get update && apt-get -y install wget git make gcc gnat && apt-get clean
4
5ARG GNATPROVE_VERSION=11.2.0-3
6ADD --unpack https://github.com/alire-project/GNAT-FSF-builds/releases/download/gnatprove-${GNATPROVE_VERSION}/gnatprove-x86_64-linux-${GNATPROVE_VERSION}.tar.gz /opt
7ENV PATH=/opt/gnatprove-x86_64-linux-${GNATPROVE_VERSION}/bin:${PATH}
8
9RUN useradd -p locked -m gnatbot
10USER gnatbot
11WORKDIR /home/gnatbot
12
13RUN git clone https://review.sourcearcade.org/libhwbase.git
14RUN git clone https://review.sourcearcade.org/libgfxinit.git
15
16RUN cd libhwbase && git fetch origin refs/changes/75/475/1 && git rebase FETCH_HEAD
17RUN cd libhwbase && make -j$(nproc) cnf=configs/linux install