Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install jmespath py library as root #814

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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