Merge "NONRTRIC-980: Service Manager - SMO deployment"
[it/dep.git] / ci / Dockerfile
index c1080e0..80e17b2 100644 (file)
 #   limitations under the License.
 #
 ##############################################################################
-
 FROM ubuntu:18.04
-RUN apt-get update && apt-get -y install curl ca-certificates
-ARG GH=get_helm.sh
+RUN apt-get update && apt-get -y install curl ca-certificates wget
+ARG HELMVERSION=v2.17.0
 # often times out during LF jenkins build
-RUN curl --silent --show-error --connect-timeout 10 --retry 6 -L https://raw.githubusercontent.com/helm/helm/master/scripts/get -o ${GH}
-RUN bash ${GH}
+RUN wget https://get.helm.sh/helm-${HELMVERSION}-linux-amd64.tar.gz && tar -xvf ../helm-${HELMVERSION}-linux-amd64.tar.gz && mv linux-amd64/helm /usr/local/bin/helm
 RUN helm init -c --skip-repos
 ARG TGT=/tmp/it-dep
 COPY . $TGT
+# Remove the smo-install as this one will be verified in another verify job
+RUN rm -rf $TGT/smo-install
 RUN $TGT/bin/verify-ric-charts