Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Fixes cloud-bulldozer#55

This PR does the following
1) Switch to UBI9, preloaded with python39, tar, curl
2) Install skopeo first, then rest

Signed-off-by: Krishna Harsha Voora <[email protected]>

* Clean-up dnf packages post install

Signed-off-by: Krishna Harsha Voora <[email protected]>

Signed-off-by: Krishna Harsha Voora <[email protected]>
  • Loading branch information
krishvoor authored Dec 7, 2022
1 parent 0806969 commit b4b1b2e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b4b1b2e

Please sign in to comment.