xref: /llvm-project/polly/lib/External/isl/imath/tests/linux/Dockerfile (revision 658eb9e14264d48888ade0e3daf0b648f76c3f0e)
1# Build IMath and run tests with GCC on Linux.
2#
3# Usage (from the imath root):
4#
5#   docker run --rm -it "$(docker build -f tests/linux/Dockerfile -q .)"
6#
7FROM alpine:latest AS base
8
9RUN apk add --no-cache bash build-base gcc gmp-dev make python2
10
11FROM base AS test
12COPY . /imath
13WORKDIR /imath
14CMD make distclean examples check
15