diff --git a/base/execution-environment.yml b/base/execution-environment.yml index 343cacb..5450f2a 100644 --- a/base/execution-environment.yml +++ b/base/execution-environment.yml @@ -42,7 +42,12 @@ additional_build_steps: - RUN yum install -y git - RUN dnf clean all -y && rm -rf /var/cache/yum /var/cache/dnf /tmp/src prepend_builder: + - ARG CM_VERSION="7.13.1" + - ENV CM_VERION="${CM_VERSION}" - RUN yum install -y yum-utils && yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo + - RUN curl -L "https://archive.cloudera.com/cm7/${CM_VERSION}/generic/jar/cm_api/cloudera-manager-api-swagger-${CM_VERSION}.tar" -o cloudera-manager-api.tar + - RUN tar xf cloudera-manager-api.tar + - RUN $PYCMD -m pip install swagger/python prepend_final: - ARG BUILD_VER="latest" - ARG BUILD_DATE="unknown"