From 8626a84444fc26a173b4c20204909376bd19f323 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Aug 09 2019 15:55:51 +0000 Subject: Dockerfile: grab updates since last container spin If we don't sometimes we can get issues. For example right now importing `from libpagure import Pagure` in python3 won't work. I'm not sure what package fixes the problem but after a dnf update everything works. --- diff --git a/Dockerfile b/Dockerfile index 44c0beb..a627036 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ FROM registry.fedoraproject.org/fedora:30 # periods with no newline get printed immediately to the screen ENV PYTHONUNBUFFERED=true +# Get any latest updates since last container spin +RUN dnf update -y && dnf clean all + # Install pagure/fedmsg libraries RUN dnf -y install python3-libpagure fedora-messaging && dnf clean all