Commit ad8d0cba authored by Jan Kiene's avatar Jan Kiene
Browse files

add dockerfile for running the initial tests

parent 4da046b1
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
FROM ubuntu:22.04

RUN ln -snf /bin/bash /bin/sh

# To avoid problems with Dialog and curses wizards
ENV DEBIAN_FRONTEND noninteractive

# install dependencies
RUN apt-get update && apt-get install -y \
    build-essential clang-13 lldb-13 lld-13 clang-format-13 \
    valgrind git cmake \
    python3 python3-pip \
    wine wine-binfmt zip

# for the wmc tool
RUN dpkg --add-architecture i386 && apt-get update
RUN apt-get install -y wine32

# cleanup
RUN rm -rf /usr/share/doc /var/lib/apt/lists/*

RUN pip3 install --upgrade pip
RUN pip3 install numpy scipy pytest pytest-xdist