Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Automation scripts
[o-du/l2.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
ddb9446
..
02e0e27
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-1,10
+1,10
@@
-FROM nexus3.o-ran-sc.org:1000
4/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 as ubuntu
+FROM nexus3.o-ran-sc.org:1000
2/o-ran-sc/bldr-ubuntu18-c-go:1.9.0
# ======================================================================
# add netconf user
RUN \
adduser --system netconf && \
# ======================================================================
# add netconf user
RUN \
adduser --system netconf && \
- echo "netconf:netconf" | chpasswd
+ echo "netconf:netconf
!
" | chpasswd
# generate ssh keys for netconf user
RUN \
# generate ssh keys for netconf user
RUN \
@@
-21,12
+21,13
@@
RUN apt-get update && apt-get install -y libpcap-dev
RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD
RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD
+RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=TDD
#CMD /opt/o-du-l2/bin/odu/odu
#cleanup netconf folder and install libraries
#CMD /opt/o-du-l2/bin/odu/odu
#cleanup netconf folder and install libraries
-RUN cd build/o1 && rm -rf netconf && /bin/bash install_lib.sh -c
-
-RUN cd build/o1 && make o1 MACHINE=BIT64
+RUN cd build/scripts && /bin/bash install_lib_O1.sh -c
# Install the data models based on the ODU yang model
# Install the data models based on the ODU yang model
-RUN /usr/local/bin/sysrepoctl -i build/o1/yang/o-ran-sc-odu-alarm-v1.yang
+RUN /usr/local/bin/sysrepoctl -i build/yang/o-ran-sc-odu-alarm-v1.yang
+
+RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES