Skip to content

Commit b8674d2

Browse files
NO-ISSUE: Update base image to ubi-minimal for packages (#745)
Co-authored-by: Gilad Ravid <gravid@redhat.com>
1 parent 2550c75 commit b8674d2

3 files changed

Lines changed: 592 additions & 805 deletions

File tree

Dockerfile.image-service-mce

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Used to build external packages:
2-
FROM --platform=$BUILDPLATFORM registry.redhat.io/rhel9-4-els/rhel:9.4 AS packages
2+
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:6fc28bcb6776e387d7a35a2056d9d2b985dc4e26031e98a2bd35a7137cd6fd71 AS packages
33

44
# Install the build tools and the required libraries:
55
RUN \
6-
dnf install -y \
6+
microdnf install -y \
77
\
88
gcc \
9+
gzip \
910
libtool \
1011
make \
12+
tar \
1113
\
1214
libselinux-devel \
1315
libuuid-devel \
@@ -16,7 +18,7 @@ RUN \
1618
zlib-devel \
1719
\
1820
&& \
19-
dnf clean all
21+
microdnf clean all
2022

2123
# Build the packages:
2224
COPY packages /packages

rpm-prefetching/rpms.in.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ contentOrigin:
33
packages:
44
- cpio
55
- gcc
6+
- gzip
67
- libselinux-devel
78
- libtool
89
- libuuid-devel
910
- libzstd-devel
1011
- lz4-devel
1112
- make
1213
- squashfs-tools
14+
- tar
1315
- zlib-devel
1416
arches:
1517
- aarch64

0 commit comments

Comments
 (0)