github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/containers/compilers/includeos/cpp/Dockerfile.common (about) 1 FROM ubuntu:16.04 2 MAINTAINER includeos.org 3 RUN \ 4 apt-get update && \ 5 apt-get install -y bc git lsb-release sudo 6 #clone & checkout dev 7 RUN cd ~ && pwd && \ 8 git clone https://github.com/hioa-cs/IncludeOS.git && \ 9 cd IncludeOS && \ 10 git checkout 0681f147661f11b51bd3783349fece93d958fdea && \ 11 git fetch --tags 12 13 #Dependencies for unik.cpp 14 RUN mkdir /root/IncludeOS/src/lib/ && \ 15 cd /root/IncludeOS/src/lib/ && \ 16 git clone https://github.com/includeos/mana && \ 17 git clone https://github.com/includeos/json && \ 18 cd json && \ 19 git submodule update --init 20 21 #Patches 22 COPY patches /tmp/patches 23 RUN cp -r /tmp/patches/* /root/IncludeOS/ 24 25 #Install 26 RUN cd ~ && pwd && \ 27 cd IncludeOS && \ 28 /bin/bash ./install.sh