#----------------------------------------------------------
FROM appmgr-xapp-base as appmgr-build
-ARG PACKAGEURL
-ARG HELMVERSION
-
+ARG HELMVERSION=v2.13.0-rc.1
+ARG PACKAGEURL=gerrit.o-ran-sc.org/r/c/ric-plt/appmgr/
#
# helm
#
#----------------------------------------------------------
FROM appmgr-build as appmgr-test_unit
-ARG PACKAGEURL
+ARG PACKAGEURL=gerrit.o-ran-sc.org/r/c/ric-plt/appmgr/
WORKDIR "/go/src/${PACKAGEURL}"
CMD ["make","go-test"]
#
#----------------------------------------------------------
FROM appmgr-build as appmgr-test_fmt
-ARG PACKAGEURL
+ARG PACKAGEURL=gerrit.o-ran-sc.org/r/c/ric-plt/appmgr/
WORKDIR "/go/src/${PACKAGEURL}"
CMD ["make","go-test-fmt"]
#
#----------------------------------------------------------
FROM appmgr-build as appmgr-test_sanity
-ARG PACKAGEURL
+ARG PACKAGEURL=gerrit.o-ran-sc.org/r/c/ric-plt/appmgr/
WORKDIR "/go/src/${PACKAGEURL}"
CMD ["jq","-s",".", "api/appmgr_rest_api.json"]
#
#----------------------------------------------------------
FROM ubuntu:16.04 as appmgr
-ARG PACKAGEURL
+ARG PACKAGEURL=gerrit.o-ran-sc.org/r/c/ric-plt/appmgr/
RUN apt-get update -y \
&& apt-get install -y sudo openssl ca-certificates ca-cacert \