15 lines · plain
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 docker.io/alpine:latest AS base8 9RUN apk add --no-cache bash build-base gcc gmp-dev make python210 11FROM base AS test12COPY . /imath13WORKDIR /imath14CMD make distclean examples check15