| FROM cgeoffroy/dockernet | |
| ENV SON_EMU_IN_DOCKER 1 | |
| # ensure that we have the latest dockernet code base! | |
| WORKDIR / | |
| RUN rm -rf dockernet | |
| RUN git clone -b dockernet-sonata https://github.com/mpeuster/dockernet.git | |
| WORKDIR /dockernet | |
| RUN python setup.py develop | |
| WORKDIR /son-emu | |
| COPY . /son-emu/ | |
| RUN cd /son-emu/ansible \ | |
| && ansible-playbook install.yml \ | |
| && cd /son-emu \ | |
| && python setup.py install \ | |
| && echo 'Done' | |
| ENTRYPOINT ["/son-emu/utils/docker/entrypoint.sh"] |