X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=bace8a89773987e3fe77a2778f806098536262b2;hb=6ff31e2779146c816ead84113877372af09bfbcc;hp=130b79f8b1cbce35c143e3376569418025c03bcf;hpb=2771ea233a3422de198e81a3729c51f9cde4c401;p=ric-plt%2Fappmgr.git diff --git a/Dockerfile b/Dockerfile index 130b79f..bace8a8 100755 --- a/Dockerfile +++ b/Dockerfile @@ -13,17 +13,18 @@ # See the License for the specific language governing permissions and # limitations under the License. -#---------------------------------------------------------- +#----------------------------------------------------------- +ARG HELMVERSION=v2.12.3 FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 AS appmgr-build RUN apt-get update -y && apt-get install -y jq ENV PATH="/usr/local/go/bin:${PATH}" -ARG HELMVERSION=v2.12.3 +ARG HELMVERSION # Install helm -RUN wget -nv https://storage.googleapis.com/kubernetes-helm/helm-${HELMVERSION}-linux-amd64.tar.gz \ +RUN wget -nv https://get.helm.sh/helm-${HELMVERSION}-linux-amd64.tar.gz \ && tar -zxvf helm-${HELMVERSION}-linux-amd64.tar.gz \ && cp linux-amd64/helm /usr/local/bin/helm \ && rm -rf helm-${HELMVERSION}-linux-amd64.tar.gz \ @@ -84,6 +85,8 @@ COPY --from=appmgr-build /usr/local/bin/kubectl /usr/local/bin/kubectl RUN ldconfig +ARG HELMVERSION +ENV HELMVERSION=$HELMVERSION # # xApp Manager #