Skip to content

Commit

Permalink
[WIP] Use ubi8 as base for builder
Browse files Browse the repository at this point in the history
This is to give a kind of consistency with metal3-io, that uses
centos8 for both builder and main images, and downstream, where we
use rhel8 for builder and main images.
  • Loading branch information
elfosardo committed Jan 22, 2020
1 parent f35f447 commit c98febc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile.ocp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM openshift/origin-base AS builder
FROM registry.access.redhat.com/ubi8 AS builder

RUN rm -rf /etc/yum.repos.d/* && \
curl http://base-4-3-rhel8.ocp.svc > /etc/yum.repos.d/base-4-3-rhel8.repo

RUN if [ $(uname -m) = "x86_64" ]; then \
yum install -y gcc git make genisoimage xz-devel grub2 grub2-efi-x64 shim dosfstools mtools && \
Expand Down

0 comments on commit c98febc

Please sign in to comment.