summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
33213b5)
Change-Id: Ied875a13981d696f2d64e395c101f0edef68d508
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
RUN \
cd /opt/dev && \
git clone https://github.com/sysrepo/sysrepo.git && \
RUN \
cd /opt/dev && \
git clone https://github.com/sysrepo/sysrepo.git && \
- cd sysrepo && sed -i -e 's/2000/30000/g' src/common.h.in && \
+ cd sysrepo && sed -i -e 's/2000/30000/g;s/5000/30000/g' src/common.h.in && \
mkdir build && cd build && \
cmake -DCMAKE_BUILD_TYPE:String="Release" -DENABLE_TESTS=OFF -DREPOSITORY_LOC:PATH=/etc/sysrepo .. && \
make -j2 && \
mkdir build && cd build && \
cmake -DCMAKE_BUILD_TYPE:String="Release" -DENABLE_TESTS=OFF -DREPOSITORY_LOC:PATH=/etc/sysrepo .. && \
make -j2 && \
RUN wget --content-disposition ${RMRLIBURL} && dpkg -i rmr_${RMRVERSION}_amd64.deb
RUN wget --content-disposition ${RMRDEVURL} && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb
RUN rm -f rmr_${RMRVERSION}_amd64.deb rmr-dev_${RMRVERSION}_amd64.deb
RUN wget --content-disposition ${RMRLIBURL} && dpkg -i rmr_${RMRVERSION}_amd64.deb
RUN wget --content-disposition ${RMRDEVURL} && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb
RUN rm -f rmr_${RMRVERSION}_amd64.deb rmr-dev_${RMRVERSION}_amd64.deb
+
+# Install kubectl from Docker Hub
+COPY --from=lachlanevenson/k8s-kubectl:v1.16.0 /usr/local/bin/kubectl /usr/local/bin/kubectl
+
COPY --from=o1mediator-build /usr/local/etc/ /usr/local/etc/
COPY --from=o1mediator-build /usr/local/bin/ /usr/local/bin/
COPY --from=o1mediator-build /usr/local/lib/ /usr/local/lib/
COPY --from=o1mediator-build /usr/local/etc/ /usr/local/etc/
COPY --from=o1mediator-build /usr/local/bin/ /usr/local/bin/
COPY --from=o1mediator-build /usr/local/lib/ /usr/local/lib/
+COPY --from=o1mediator-build /usr/local/bin/kubectl /usr/local/bin/kubectl
+
RUN ldconfig
# copy yang models with data
RUN ldconfig
# copy yang models with data
<xapps xmlns="urn:o-ran:ric:xapp-desc:1.0">
<xapp xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="create">
<name>ueec</name>
<xapps xmlns="urn:o-ran:ric:xapp-desc:1.0">
<xapp xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0" xc:operation="create">
<name>ueec</name>
- <release-name>ueec-xapp</release-name>
- <version>0.0.1</version>
+ <release-name>ueec</release-name>
+ <version>0.0.4</version>
<namespace>ricxapp</namespace>
</xapp>
</xapps>
<namespace>ricxapp</namespace>
</xapp>
</xapps>
# By default this file is in the docker build directory,
# but the location can configured in the JJB template.
---
# By default this file is in the docker build directory,
# but the location can configured in the JJB template.
---