1FROM debian:10.1-slim as base
2RUN apt -qq update >/dev/null
3RUN apt -qq install -y cmake make build-essential >/dev/null
4RUN apt -qq install -y autoconf git libtool >/dev/null
5RUN apt -qq install -y clang >/dev/null
6FROM base
7# Travis machines have 2 cores. Can be redefined with 'run --env PAR_JOBS=N'.
8ENV JOBS=2
9WORKDIR /flatbuffers
10ADD . .
11