Use xapp-frame-go module version 0.4.8 which drops dependency on nng.
Change base builder to stop using deprecated alpine3-go image.
Drop prefix "/go" from dockerfile copy commands.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I9df1dce576b083674290857f1c23d9b3a25ab5c6
[2.1.7] - 2020-04-22
--------------------
-* Switch to rmr 3.8.0
+* Upgrade to rmr 3.8.0
+* Upgrade integration tests to xapp-frame-go version 0.4.8 which drops NNG
[2.1.6] - 4/7/2020
-------------------
# ==================================================================================
# This Dockerfile uses a two stage Docker build
-FROM nexus3.o-ran-sc.org:10004/bldr-alpine3-go:5-a3.11-nng-rmr3
+FROM nexus3.o-ran-sc.org:10004/bldr-alpine3:10-a3.11-rmr3
# go will complain if there is a go.mod at the root of the GOPATH so we can't.
RUN mkdir myxapp
# copy rmr .so from builder image in lieu of an Alpine package
COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:3.8.0 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
-COPY --from=0 /go/myxapp/receiver .
+COPY --from=0 /myxapp/receiver .
COPY delay-config-file.yaml .
# rmr setup
# ==================================================================================
# This Dockerfile uses a two stage Docker build
-FROM nexus3.o-ran-sc.org:10004/bldr-alpine3-go:5-a3.11-nng-rmr3
+FROM nexus3.o-ran-sc.org:10004/bldr-alpine3:10-a3.11-rmr3
# go will complain if there is a go.mod at the root of the GOPATH so we can't.
RUN mkdir myxapp
# copy rmr .so from builder image in lieu of an Alpine package
COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:3.8.0 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
-COPY --from=0 /go/myxapp/receiver .
+COPY --from=0 /myxapp/receiver .
COPY query-config-file.yaml .
# rmr setup
# ==================================================================================
# This Dockerfile uses a two stage Docker build
-FROM nexus3.o-ran-sc.org:10004/bldr-alpine3-go:5-a3.11-nng-rmr3
+FROM nexus3.o-ran-sc.org:10004/bldr-alpine3:10-a3.11-rmr3
# go will complain if there is a go.mod at the root of the GOPATH so we can't.
RUN mkdir myxapp
# copy rmr .so from builder image in lieu of an Alpine package
COPY --from=nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-alpine3-rmr:3.8.0 /usr/local/lib64/librmr_si.so /usr/local/lib64/librmr_si.so
-COPY --from=0 /go/myxapp/receiver .
+COPY --from=0 /myxapp/receiver .
COPY test-config-file.yaml .
# rmr setup
module gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/example-xapp
require (
- gerrit.o-ran-sc.org/r/ric-plt/xapp-frame v0.4.2
+ gerrit.o-ran-sc.org/r/ric-plt/xapp-frame v0.4.8
github.com/go-openapi/runtime v0.19.11 // indirect
github.com/go-openapi/spec v0.19.6 // indirect
)
-replace gerrit.o-ran-sc.org/r/ric-plt/xapp-frame => gerrit.o-ran-sc.org/r/ric-plt/xapp-frame.git v0.4.2
+replace gerrit.o-ran-sc.org/r/ric-plt/xapp-frame => gerrit.o-ran-sc.org/r/ric-plt/xapp-frame.git v0.4.8
replace gerrit.o-ran-sc.org/r/ric-plt/sdlgo => gerrit.o-ran-sc.org/r/ric-plt/sdlgo.git v0.5.0