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 1 commit
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
6 changes: 1 addition & 5 deletions Dockerfile
Expand Up @@ -19,16 +19,11 @@ 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 \
&& dnf -y clean all \
&& rm -rf /tmp/*

RUN if [ "$cacert_url" != "undefined" ]; then \
cd /etc/pki/ca-trust/source/anchors \
&& curl -O $cacert_url \
Expand All @@ -37,6 +32,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 -r requirements-operator-courier.txt
midnightercz marked this conversation as resolved.
Show resolved Hide resolved
RUN pip3 install . --no-deps
USER 1001
EXPOSE 8080
Expand Down
4 changes: 4 additions & 0 deletions requirements-operator-courier.txt
@@ -0,0 +1,4 @@
operator-courier == 2.1.8 --hash=sha256:b5482baeff662c1bcba5ec0a97e2f21132ee7a155580ab0ac3b886e1affd8396
PyYAML == 5.3.1 --hash=sha256:b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d
midnightercz marked this conversation as resolved.
Show resolved Hide resolved
validators == 0.17.1 --hash=sha256:898b6b8197fbc320daf25d3b32fa928fd25e225c33790cb58ed54b48aebe1858
semver==2.10.2 --hash=sha256:21e80ca738975ed513cba859db0a0d2faca2380aef1962f48272ebf9a8a44bd4