Skip to content

Commit 61dbcb1

Browse files
authored
Switch base image to Fedora 41 (#622)
Related to #613.
2 parents a82fcb2 + 50c9a08 commit 61dbcb1

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/workflows/base-image-rebuild.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches:
99
- main
1010
paths:
11-
- containers/Containerfile.c9s
11+
- containers/Containerfile
1212

1313
jobs:
1414
build:
@@ -20,8 +20,15 @@ jobs:
2020
strategy:
2121
matrix:
2222
include:
23-
- containerfile: containers/Containerfile.c9s
24-
tags: "c9s latest"
23+
- containerfile: containers/Containerfile
24+
tags: "fedora latest"
25+
archs: "amd64"
26+
- containerfile: containers/Containerfile
27+
tags: "fedora latest"
28+
archs: "arm64"
29+
- containerfile: containers/Containerfile
30+
tags: "fedora latest"
31+
archs: "ppc64le"
2532

2633
steps:
2734
- uses: actions/checkout@v3
@@ -38,7 +45,7 @@ jobs:
3845
containerfiles: ${{ matrix.containerfile }}
3946
image: base
4047
tags: ${{ matrix.tags }}
41-
archs: amd64, arm64, ppc64le
48+
archs: ${{ matrix.archs }}
4249
# Uncomment once we stop using oc cluster up for tests
4350
# oci: true
4451

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
# Be aware that this image is used for all stages, so if a dependency is removed be sure that it is
22
# not required in anywhere
33

4-
FROM quay.io/centos/centos:stream9
4+
FROM registry.fedoraproject.org/fedora:41
55

66
ENV ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3 \
77
ANSIBLE_STDOUT_CALLBACK=debug
88

9-
RUN dnf -y install epel-release && \
10-
crb enable && \
11-
# TODO: revert this change after psql:15 works fine
12-
dnf -y module enable postgresql:16 && \
13-
dnf -y upgrade && \
9+
RUN dnf -y upgrade && \
1410
dnf -y install ansible python3-pip && \
1511
dnf clean all

0 commit comments

Comments
 (0)