added example VNFs for emulator (not finally tested)
[osm/vim-emu.git] / misc / vnfs / tcpdump / Dockerfile
diff --git a/misc/vnfs/tcpdump/Dockerfile b/misc/vnfs/tcpdump/Dockerfile
new file mode 100644 (file)
index 0000000..e14570f
--- /dev/null
@@ -0,0 +1,16 @@
+FROM      ubuntu
+MAINTAINER iMinds
+
+RUN apt-get update && apt-get install -y \
+       tcpdump
+
+RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump
+
+ADD start.sh start.sh
+RUN chmod +x start.sh
+
+# emulator specific entrypoint
+ENV SON_EMU_CMD ./start.sh
+
+# always use bash as defauld command
+CMD /bin/bash
\ No newline at end of file