Merge "NONRTRIC-980: Service Manager - SMO deployment"
[it/dep.git] / ci / Dockerfile
index bd60013..80e17b2 100644 (file)
 #   limitations under the License.
 #
 ##############################################################################
-
 FROM ubuntu:18.04
-RUN apt-get update && apt-get -y install curl
-RUN curl -L https://git.io/get_helm.sh | bash
-RUN helm init -c
+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 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