Skip to content

Commit

Permalink
use almalinux minimal-8 image to replace the centos8 image
Browse files Browse the repository at this point in the history
since centos8 has reached EOL the Container image cannot install
packages and hence the build fails
  • Loading branch information
anjannath authored and praveenkumar committed Jun 19, 2024
1 parent 7a81f8e commit 0df0892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Containerfile.centos8 → Containerfile.almalinux8
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM quay.io/centos/centos:stream8
FROM quay.io/almalinuxorg/8-minimal:8

MAINTAINER CRC team

RUN yum install -y libvirt-devel curl git gcc make golang diffutils
RUN microdnf install -y libvirt-devel curl git gcc make golang diffutils

COPY . /go/src/github.com/crc-org/machine-driver-libvirt
WORKDIR /go/src/github.com/crc-org/machine-driver-libvirt
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DESCRIBE=$(shell git describe --tags)
VERSION=$(shell grep DriverVersion pkg/libvirt/constants.go | awk '{ print $$3 }' | tr -d \")
CONTAINER_RUNTIME ?= podman

TARGETS=$(addprefix $(CMD)-, centos8)
TARGETS=$(addprefix $(CMD)-, almalinux8)

build: $(TARGETS)

Expand Down

0 comments on commit 0df0892

Please sign in to comment.