diff --git a/install/collections/requirements.yml b/install/collections/requirements.yml index 3e4505ba..9ff67510 100644 --- a/install/collections/requirements.yml +++ b/install/collections/requirements.yml @@ -1,2 +1,3 @@ collections: - - name: kubernetes.core \ No newline at end of file + - name: kubernetes.core + - name: community.hashi_vault \ No newline at end of file diff --git a/tealc-ee/context/Dockerfile b/tealc-ee/context/Dockerfile index b36caa54..35c2f6cc 100644 --- a/tealc-ee/context/Dockerfile +++ b/tealc-ee/context/Dockerfile @@ -15,8 +15,9 @@ FROM $EE_BUILDER_IMAGE as builder COPY --from=galaxy /usr/share/ansible /usr/share/ansible +ADD _build/requirements.txt requirements.txt ADD _build/bindep.txt bindep.txt -RUN ansible-builder introspect --sanitize --user-bindep=bindep.txt --write-bindep=/tmp/src/bindep.txt --write-pip=/tmp/src/requirements.txt +RUN ansible-builder introspect --sanitize --user-pip=requirements.txt --user-bindep=bindep.txt --write-bindep=/tmp/src/bindep.txt --write-pip=/tmp/src/requirements.txt RUN assemble FROM $EE_BASE_IMAGE @@ -30,3 +31,4 @@ RUN /output/install-from-bindep && rm -rf /output/wheels RUN echo This is a post-install command! RUN curl https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/openshift-client-linux.tar.gz -o openshift-client-linux.tar.gz && tar xzf openshift-client-linux.tar.gz && rm -f openshift-client-linux.tar.gz && mv oc /usr/bin/oc && mv kubectl /usr/bin/kubectl RUN /usr/bin/dnf install -y https://kojipkgs.fedoraproject.org//packages/git-crypt/0.6.0/7.el8/x86_64/git-crypt-0.6.0-7.el8.x86_64.rpm +RUN curl -O https://mirror.openshift.com/pub/rhacs/assets/4.2.0/bin/Linux/roxctl && chmod +x roxctl && mv roxctl /usr/bin/roxctl diff --git a/tealc-ee/context/_build/requirements.txt b/tealc-ee/context/_build/requirements.txt new file mode 100644 index 00000000..53e6d5a4 --- /dev/null +++ b/tealc-ee/context/_build/requirements.txt @@ -0,0 +1,2 @@ +python-openstackclient +awscli \ No newline at end of file diff --git a/tealc-ee/context/_build/requirements.yml b/tealc-ee/context/_build/requirements.yml index 3e4505ba..9ff67510 100644 --- a/tealc-ee/context/_build/requirements.yml +++ b/tealc-ee/context/_build/requirements.yml @@ -1,2 +1,3 @@ collections: - - name: kubernetes.core \ No newline at end of file + - name: kubernetes.core + - name: community.hashi_vault \ No newline at end of file diff --git a/tealc-ee/execution-environment.yml b/tealc-ee/execution-environment.yml index 6b824f88..634c923d 100644 --- a/tealc-ee/execution-environment.yml +++ b/tealc-ee/execution-environment.yml @@ -1,8 +1,9 @@ -version: 1 +version: 3 dependencies: galaxy: ../install/collections/requirements.yml system: bindep.txt + python: requirements.txt additional_build_steps: prepend: | @@ -11,3 +12,4 @@ additional_build_steps: - RUN echo This is a post-install command! - RUN curl https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/openshift-client-linux.tar.gz -o openshift-client-linux.tar.gz && tar xzf openshift-client-linux.tar.gz && rm -f openshift-client-linux.tar.gz && mv oc /usr/bin/oc && mv kubectl /usr/bin/kubectl - RUN /usr/bin/dnf install -y https://kojipkgs.fedoraproject.org//packages/git-crypt/0.6.0/7.el8/x86_64/git-crypt-0.6.0-7.el8.x86_64.rpm + - RUN curl -O https://mirror.openshift.com/pub/rhacs/assets/4.2.0/bin/Linux/roxctl && chmod +x roxctl && mv roxctl /usr/bin/roxctl diff --git a/tealc-ee/requirements.txt b/tealc-ee/requirements.txt new file mode 100644 index 00000000..53e6d5a4 --- /dev/null +++ b/tealc-ee/requirements.txt @@ -0,0 +1,2 @@ +python-openstackclient +awscli \ No newline at end of file