Skip to content

Commit

Permalink
install jmespath py library as root (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli authored Sep 3, 2024
1 parent 6822431 commit 0907e2a
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 0907e2a

Please sign in to comment.