Skip to content

Commit aca2f1f

Browse files
committed
CI: Upgrade Ubi8 to Ubi9.
Signed-off-by: Pascal Spörri <[email protected]>
1 parent 813c7c9 commit aca2f1f

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
buildType: Release
3434
# - buildTarget: ubuntu22.04
3535
# buildType: Debug
36-
# - buildTarget: ubi8
37-
# buildType: Release
38-
# - buildTarget: ubi8
36+
- buildTarget: ubi9
37+
buildType: Release
38+
# - buildTarget: ubi9
3939
# buildType: Debug
4040
runs-on: ubuntu-latest
4141
env:

docker/Dockerfile-base_ubi8 renamed to docker/Dockerfile-base_ubi9

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
# SPDX-License-Identifier: Apache-2.0
44
#
55

6-
FROM registry.access.redhat.com/ubi8/ubi
6+
FROM registry.access.redhat.com/ubi9/ubi
77

88
RUN yum install -y \
99
git unzip \
1010
clang wget \
1111
gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ gcc-toolset-12-runtime \
12-
curl libcurl-devel \
12+
libcurl-devel \
1313
openssl-devel \
14+
zlib-devel \
1415
python3.11 python3.11-devel \
1516
java-11-openjdk java-11-openjdk-devel
1617

docker/Dockerfile_ubi8 renamed to docker/Dockerfile_ubi9

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#
55

66
ARG GIT_REVISION
7-
FROM geds-build/ubi8:${GIT_REVISION} as builder
7+
FROM geds-build/ubi9:${GIT_REVISION} as builder
88

9-
FROM registry.access.redhat.com/ubi8/ubi
9+
FROM registry.access.redhat.com/ubi9/ubi
1010

1111
RUN yum install -y \
1212
curl \
13-
gcc-toolset-12-runtime \
13+
gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ gcc-toolset-12-runtime \
1414
openssl-devel \
1515
python3.11 \
1616
java-11-openjdk java-11-openjdk-devel
@@ -21,6 +21,9 @@ ENV PATH=/opt/rh/gcc-toolset-12/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbi
2121
LD_LIBRARY_PATH=/opt/rh/gcc-toolset-12/root/usr/lib64:/opt/rh/gcc-toolset-12/root/usr/lib \
2222
PKG_CONFIG_PATH=/opt/rh/gcc-toolset-12/root/usr/lib64/pkgconfig
2323

24+
ENV CC=/opt/rh/gcc-toolset-12/root/usr/bin/gcc \
25+
CXX=/opt/rh/gcc-toolset-12/root/usr/bin/g++
26+
2427
EXPOSE 4380
2528
EXPOSE 4381
2629
EXPOSE 4382

0 commit comments

Comments
 (0)