FROM rust:1.37.0-slim-stretch as base WORKDIR /code ADD . . RUN cp flatc_debian_stretch flatc WORKDIR /code/tests RUN rustc --version RUN ./RustTest.sh