Full integration with new Containernet
[osm/vim-emu.git] / utils / docker / Dockerfile
index 7a9999a..7270ab5 100644 (file)
@@ -1,12 +1,16 @@
-FROM cgeoffroy/dockernet
+FROM mpeuster/containernet
+MAINTAINER manuel@peuster.de
 
-WORKDIR /son-emu
+ENV SON_EMU_IN_DOCKER 1
 
+WORKDIR /son-emu
 COPY . /son-emu/
 
 RUN cd /son-emu/ansible \
     && ansible-playbook install.yml \
     && cd /son-emu \
+    # we need to reset the __pycache__ for correct test discovery
+    && rm -rf src/emuvim/test/__pycache__ \
     && python setup.py install \
     && echo 'Done'