Skip to content

Commit

Permalink
install jmespath py library as root (#814) (#815)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0907e2a)
  • Loading branch information
jmazzitelli committed Sep 3, 2024
1 parent fd99bbb commit f6d033c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ USER root
# see https://github.com/operator-framework/operator-sdk/issues/5745
RUN yum remove -y subscription-manager python3-subscription-manager-rhsm
RUN yum update -y && yum clean all
# pull in jmespath py library for json processing
RUN python3 -m pip install jmespath

USER ${USER_UID}

COPY roles/ ${HOME}/roles/
Expand All @@ -15,9 +18,6 @@ COPY watches-os.yaml ${HOME}/watches-os.yaml
COPY watches-k8s-ns.yaml ${HOME}/watches-k8s-ns.yaml
COPY watches-os-ns.yaml ${HOME}/watches-os-ns.yaml

# pull in jmespath py library for json processing
RUN python3 -m pip install jmespath

COPY requirements.yml ${HOME}/requirements.yml
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \
&& chmod -R ug+rwx ${HOME}/.ansible
Expand Down

0 comments on commit f6d033c

Please sign in to comment.