Modified Dockerfiles for LF CI integration
[o-du/l2.git] / Dockerfile
index c41d6ec..eda1724 100644 (file)
@@ -1,8 +1,10 @@
 FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu16-c-go:2-u16.04-nng as ubuntu
 
-WORKDIR .
+ADD . /opt/o-du-l2
+WORKDIR /opt/o-du-l2
 
-RUN cd ./build/odu
-RUN make clean_all odu cu_stub MACHINE=BIT64 MODE=FDD
-#RUN make cu_stub MACHINE=BIT64 MODE=FDD
+RUN apt-get update && apt-get install -y libpcap-dev
 
+RUN cd build/odu && make clean_all odu MACHINE=BIT64 MODE=FDD
+
+CMD /opt/o-du-l2/bin/odu/odu