diff --git a/Dockerfile b/Dockerfile index e61f205..7b0362e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -FROM fedora:37 +FROM registry.access.redhat.com/ubi9:latest +RUN dnf install -y --nodocs skopeo && \ + dnf clean all COPY image_resources/centos9.repo image_resources/centos9-appstream.repo /etc/yum.repos.d/ -RUN dnf install -y --nodocs python3 python3-pip python3-devel-3.9.13-2.el9.x86_64 gcc && dnf clean all && \ - dnf install -y --nodocs rsync tar curl skopeo redis --enablerepo=centos9-appstream && dnf clean all && \ +RUN dnf install -y --nodocs python3-pip python3-devel gcc && \ + dnf install -y --nodocs --nobest rsync redis && \ + dnf clean all && \ ln -s /usr/bin/python3 /usr/bin/python WORKDIR /workdir