Improved test to be skipped when executed within a container.
[osm/vim-emu.git] / utils / docker / Dockerfile
index b2ad266..2c1bda6 100644 (file)
@@ -1,12 +1,15 @@
 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 git pull \
-    && python setup.py develop
+RUN python setup.py develop
 
 WORKDIR /son-emu
-
 COPY . /son-emu/
 
 RUN cd /son-emu/ansible \