Skip to content

Commit 5c44414

Browse files
committed
fix: upgrade UBI image - fixes multiple CVEs
Ref: LOG-18396
1 parent f1a4756 commit 5c44414

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax = docker/dockerfile:1.0-experimental
22

33
ARG UBI_MAJOR_VERSION=8
4-
ARG UBI_MINOR_VERSION=5
4+
ARG UBI_MINOR_VERSION=8
55
ARG UBI_VERSION=${UBI_MAJOR_VERSION}.${UBI_MINOR_VERSION}
66

77
ARG TARGET_ARCH=x86_64

scripts/ubi8-sysroot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ubi_packages="systemd-libs systemd-devel glibc glibc-devel gcc libstdc++-devel l
1313

1414
apt-get update 1>&2 && apt-get install --no-install-recommends -y dnf 1>&2
1515
dnf install --releasever="${UBI_MAJOR_VERSION}" --forcearch="${TARGET_ARCH}" \
16-
--installroot="$SYSROOT_PATH/" --repo="ubi-${UBI_MAJOR_VERSION}-baseos" \
17-
--repo="ubi-${UBI_MAJOR_VERSION}-appstream" --repo="ubi-${UBI_MAJOR_VERSION}-codeready-builder" -y \
16+
--installroot="$SYSROOT_PATH/" --repo="ubi-${UBI_MAJOR_VERSION}-baseos-rpms" \
17+
--repo="ubi-${UBI_MAJOR_VERSION}-appstream-rpms" --repo="ubi-${UBI_MAJOR_VERSION}-codeready-builder-rpms" -y \
1818
$ubi_packages 1>&2
1919

2020
# Linker file to hint where the linker can find libgcc_s as the packaged symlink is broken \

0 commit comments

Comments
 (0)