Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Remove rpm operator-courier dependency and install it from pypi instead #113

Merged
merged 3 commits into from Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 2 additions & 5 deletions Dockerfile
Expand Up @@ -19,13 +19,9 @@ RUN dnf -y install \
python3-jsonschema \
python3-koji \
python3-requests \
python3-operator-courier \
python3-ruamel-yaml \
python3-pip \
&& dnf -y clean all \
&& rm -rf /tmp/*

RUN dnf --enablerepo=updates-testing -y update python3-operator-courier \
python3-pyyaml \
&& dnf -y clean all \
&& rm -rf /tmp/*

Expand All @@ -37,6 +33,7 @@ RUN if [ "$cacert_url" != "undefined" ]; then \
# This will allow a non-root user to install a custom root CA at run-time
RUN chmod 777 /etc/pki/tls/certs/ca-bundle.crt
COPY . .
RUN pip3 install --require-hashes --no-deps -r requirements-operator-courier.txt
RUN pip3 install . --no-deps
USER 1001
EXPOSE 8080
Expand Down
1 change: 1 addition & 0 deletions requirements-operator-courier.txt
@@ -0,0 +1 @@
operator-courier == 2.1.8 --hash=sha256:b5482baeff662c1bcba5ec0a97e2f21132ee7a155580ab0ac3b886e1affd8396