Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update to using RMR version 4.9.4
[ric-plt/xapp-frame.git]
/
ci
/
Dockerfile
diff --git
a/ci/Dockerfile
b/ci/Dockerfile
index
e354c89
..
f0c1c0b
100755
(executable)
--- a/
ci/Dockerfile
+++ b/
ci/Dockerfile
@@
-17,7
+17,7
@@
#
#----------------------------------------------------------
#
#----------------------------------------------------------
-FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.
0
.0 as xapp-base
+FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.
1
.0 as xapp-base
RUN apt-get update -y \
RUN apt-get update -y \
@@
-37,7
+37,7
@@
RUN apt-get update -y \
RUN curl -s https://packagecloud.io/install/repositories/o-ran-sc/master/script.deb.sh | bash
# RMR
RUN curl -s https://packagecloud.io/install/repositories/o-ran-sc/master/script.deb.sh | bash
# RMR
-ARG RMRVERSION=4.
8.0
+ARG RMRVERSION=4.
9.4
#RUN apt-get install -y rmr=${RMRVERSION} rmr-dev=${RMRVERSION}
RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb
RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb
#RUN apt-get install -y rmr=${RMRVERSION} rmr-dev=${RMRVERSION}
RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb
RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb
@@
-57,7
+57,6
@@
CMD ["/bin/bash"]
#----------------------------------------------------------
FROM xapp-base as xapp-base-testbuild
#----------------------------------------------------------
FROM xapp-base as xapp-base-testbuild
-
RUN mkdir -p /ws
WORKDIR "/ws"
RUN mkdir -p /ws
WORKDIR "/ws"
@@
-75,6
+74,10
@@
RUN make -C /ws go-build
# Test fmt
RUN make -C /ws go-test-fmt
# Test fmt
RUN make -C /ws go-test-fmt
+# Alternative way to run tests:
+# If there is ipv6 in use, then there might be problems if
+# "localhost" is resolved as ipv6 address
+# --> Comment out ipv6 hosts file entries before running tests
#RUN sed -r "s/^(::1.*)/#\1/" /etc/hosts > /etc/hosts.new \
# && cat /etc/hosts.new > /etc/hosts \
# && cat /etc/hosts \
#RUN sed -r "s/^(::1.*)/#\1/" /etc/hosts > /etc/hosts.new \
# && cat /etc/hosts.new > /etc/hosts \
# && cat /etc/hosts \