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
Use ubuntu20.04 image in testing as it's default go version is 1.16
[ric-plt/xapp-frame.git]
/
ci
/
Dockerfile
diff --git
a/ci/Dockerfile
b/ci/Dockerfile
index
2189c99
..
71aaed3
100755
(executable)
--- a/
ci/Dockerfile
+++ b/
ci/Dockerfile
@@
-17,7
+17,9
@@
#
#----------------------------------------------------------
#
#----------------------------------------------------------
-FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 as xapp-base
+FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 as xapp-base
+
+
RUN apt-get update -y \
&&apt-get install -y \
apt-utils \
RUN apt-get update -y \
&&apt-get install -y \
apt-utils \
@@
-73,5
+75,9
@@
RUN make -C /ws go-build
# Test fmt
RUN make -C /ws go-test-fmt
# Test fmt
RUN make -C /ws go-test-fmt
-# Test Requires dbaas
-RUN make -C /ws go-test
+#RUN sed -r "s/^(::1.*)/#\1/" /etc/hosts > /etc/hosts.new \
+# && cat /etc/hosts.new > /etc/hosts \
+# && cat /etc/hosts \
+# && make -C /ws go-test
+
+RUN make -C /ws go-test