From 963f0863f7eb06962f9fd06b43db3fbd83618e43 Mon Sep 17 00:00:00 2001 From: Tomasz Torcz Date: Mon, 14 Feb 2022 20:55:54 +0100 Subject: [PATCH] feat(qrgen): switch to fedora-minimal as base container --- Containerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Containerfile b/Containerfile index 8c2c2b9..debf202 100644 --- a/Containerfile +++ b/Containerfile @@ -1,12 +1,13 @@ -FROM fedora:latest +FROM fedora-minimal:latest -# workaround for running yum in container -USER root - -RUN dnf install --assumeyes \ +RUN microdnf install --assumeyes \ python3-flask \ python3-flask-wtf \ - && dnf clean all + tzdata \ + && microdnf clean all + +# fedora-minimal has broken tzdata package - https://bugzilla.redhat.com/show_bug.cgi?id=1870814 +RUN microdnf reinstall --assumeyes tzdata && microdnf clean all USER 1000