blob: 47b0ed06d6ef5c3f8a3a699ee1ac58eaba8e6e6b [file] [log] [blame]
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/
# ensure that we have the right docker image for tests available
RUN docker run --rm ubuntu:trusty
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"]