diff --git a/container/Dockerfile b/container/Dockerfile index 8fa42ae..88296c2 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -50,6 +50,9 @@ RUN groupadd --gid "$USER_GID" "$USERNAME" \ # Set work directory WORKDIR /workspaces/art-bot +# Fixes issue "ERROR: Cannot uninstall requests 2.25.1, RECORD file not found. Hint: The package was installed by rpm." +RUN rpm -e --nodeps python3-requests + # Clone art-tools and run install.sh script RUN git clone https://github.com/openshift-eng/art-tools.git art-tools \ && cd art-tools \ @@ -68,4 +71,4 @@ RUN cp -r /tmp/art-bot/{artbotlib,art-bot.py,art_bot_dev.py} . \ && rm -rf /tmp/art-bot # Set non-root user -USER "$USER_UID" \ No newline at end of file +USER "$USER_UID" diff --git a/requirements-dev.txt b/requirements-dev.txt index 7f4223c..3ae3005 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,8 +3,7 @@ coverage flake8 flexmock mock -pygit2 == 1.10.1 # https://github.com/libgit2/pygit2/issues/1176 pylint pytest tox -Cmake \ No newline at end of file +Cmake