From 6ac818edbcf0af312371adfcd7a59265430e653d Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Jan 28 2021 13:53:42 +0000 Subject: Add tenacity requirements to the Containerfile This change the following error when running the container: Error: Failed to import the callback module (No module named 'tenacity') provided in the --callback argument --- diff --git a/Dockerfile b/Dockerfile index 10c2f58..7bf4c42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM registry.fedoraproject.org/fedora:33 # Install system dependencies -RUN dnf update -y && dnf install -y fedora-messaging python-requests && dnf clean all +RUN dnf update -y && dnf install -y fedora-messaging python-requests python-tenacity && dnf clean all # Install pip deps RUN pip install prometheus_client diff --git a/container.dhall b/container.dhall index 5a22089..d56c034 100644 --- a/container.dhall +++ b/container.dhall @@ -7,7 +7,7 @@ let image = # Containerfile.run "Install system dependencies" [ "dnf update -y" - , "dnf install -y fedora-messaging python-requests" + , "dnf install -y fedora-messaging python-requests python-tenacity" , "dnf clean all" ] # Containerfile.run