added example VNFs for emulator (not finally tested)
[osm/vim-emu.git] / misc / vnfs / firewall / Dockerfile
diff --git a/misc/vnfs/firewall/Dockerfile b/misc/vnfs/firewall/Dockerfile
new file mode 100644 (file)
index 0000000..971ab19
--- /dev/null
@@ -0,0 +1,22 @@
+FROM      ubuntu
+MAINTAINER iMinds
+
+RUN apt-get update && apt-get install -y \
+       iptables \
+       arptables \
+       ebtables \
+       bridge-utils \
+       tcpdump \
+       openvswitch-switch \
+       openvswitch-common
+       
+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