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