Skip to content

Commit 7291d2b

Browse files
adding fedora41 dockerfile (#221)
adding fedora41 dockerfile Reviewed-by: Artem Goncharov
1 parent b89fdc8 commit 7291d2b

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

containers/Dockerfile.f41

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM quay.io/fedora/fedora:41-x86_64
2+
3+
ENV XDG_CACHE_HOME=/root/.cache
4+
RUN dnf update -y && dnf install -y iproute rsync git traceroute unzip bzip2 \
5+
bzip2-devel libffi-devel sqlite-devel sqlite-devel rpm-sign expect \
6+
make curl wget tar procps-ng which sudo unzip findutils grep ncurses-devel \
7+
openssl-devel zlib-devel krb5-devel make cmake gcc gcc-c++ rpm-build \
8+
python3.6 python3.8 python3.9 python3.10 python3.11 python3-dnf \
9+
python3-setuptools python3 python3-devel python3-wheel python3-pip \
10+
libxml2-devel libxslt-devel texlive-background texlive texlive-fncychap \
11+
texlive-gnu-freefont texlive-titlesec texlive-tabulary texlive-framed \
12+
texlive-wrapfig texlive-upquote texlive-capt-of texlive-needspace \
13+
texlive-polyglossia texlive-babel-english texlive-cmap texlive-kvoptions \
14+
texlive-parskip texlive-pdftex texlive-tex-gyre texlive-xetex latexmk \
15+
ImageMagick inkscape liberation-sans-fonts liberation-serif-fonts \
16+
liberation-mono-fonts && \
17+
dnf clean all
18+
19+
RUN ln -sf /bin/pip3 /bin/pip && /bin/pip3 install --user 'tox>=3.8.0' os-testr
20+
21+
RUN mv /etc/sudoers /etc/sudoers.d/zuul && grep includedir /etc/sudoers.d/zuul > /etc/sudoers && sed -e 's/.*includedir.*//' -i /etc/sudoers.d/zuul && chmod 440 /etc/sudoers
22+
23+
RUN echo 'zuul:x:0:0:root:/root:/bin/bash' >> /etc/passwd
24+
ENV PATH=/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
25+
WORKDIR /root

zuul.d/container-images/fedora.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,25 @@
8686
vars: *zuul-f39_vars
8787
files: *zuul-f39_files
8888

89+
- job:
90+
name: zuul-config-build-image-f41
91+
description: Build a F41 image.
92+
parent: zuul-config-build-image
93+
vars: &zuul-f41_vars
94+
container_images:
95+
- context: containers
96+
container_filename: Dockerfile.f41
97+
registry: quay.io
98+
repository: opentelekomcloud/zuul-fedora
99+
tags: ['41']
100+
files: &zuul-f41_files
101+
- containers/Dockerfile.f41
102+
- zuul.d/container-images/fedora.yaml
103+
104+
- job:
105+
name: zuul-config-upload-image-f41
106+
description: Build and upload a f41 image.
107+
parent: zuul-config-upload-image
108+
vars: *zuul-f41_vars
109+
files: *zuul-f41_files
110+

zuul.d/project.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
- zuul-config-build-image-f37
88
- zuul-config-build-image-f38
99
- zuul-config-build-image-f39
10+
- zuul-config-build-image-f41
1011
gate:
1112
jobs:
1213
- otc-tox-linters
1314
- zuul-config-build-image-f37
1415
- zuul-config-build-image-f38
1516
- zuul-config-build-image-f39
17+
- zuul-config-build-image-f41
1618
post:
1719
jobs:
1820
- zuul-config-upload-image-f37
1921
- zuul-config-upload-image-f38
2022
- zuul-config-upload-image-f39
23+
- zuul-config-upload-image-f41

0 commit comments

Comments
 (0)