# # Super simple example of a Dockerfile # FROM debian:jessie

WORKDIR /home/rem_build

RUN apt-get update -y RUN apt-get install -y build-essential rake gcc-arm-none-eabi gcc-avr avr-libc git subversion unzip wget curl make python sdcc sdcc-libraries cppcheck

# Install mips toolchain manually, as there is no apt-get package available: RUN wget www.mips.com/?do-download=linux-x64-mti-bare-metal-2016-05-03 -O mips_toolchain.tar.gz RUN tar xvf mips_toolchain.tar.gz RUN chmod 755 /home/rem_build/mips-mti-elf/2016.05-03/bin /home/rem_build/mips-mti-elf/2016.05-03 /home/rem_build/mips-mti-elf ENV PATH /home/rem_build/mips-mti-elf/2016.05-03/bin/:$PATH

RUN git clone github.com/franzflasch/REM.git

RUN /bin/bash -c “/home/rem_build/REM/tests/run_all_rem_tests.sh /home/rem_build/REM”