Skip to content

Commit 2de8023

Browse files
mgautierfrkelson42
authored andcommitted
[kiwix-build] Switch from bionic to manylinux image
1 parent f13b27d commit 2de8023

File tree

3 files changed

+29
-28
lines changed

3 files changed

+29
-28
lines changed

.github/workflows/kiwix-build_ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
variant: [f35, focal, bionic, alpine, noble]
17+
variant: [f35, focal, manylinux, alpine, noble]
1818
runs-on: ubuntu-22.04
1919

2020
steps:

kiwix-build_ci/bionic_builder.dockerfile

-27
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM quay.io/pypa/manylinux_2_28_x86_64
2+
LABEL org.opencontainers.image.source https://github.com/kiwix/container-images
3+
4+
ENV LANG C.UTF-8
5+
ENV OS_NAME manylinux
6+
7+
RUN dnf install -y --nodocs \
8+
# Base build tools
9+
make automake libtool cmake git-core subversion pkg-config gcc-c++ \
10+
wget unzip ninja-build which patch xz openssh-clients \
11+
# Other tools (to remove)
12+
vim less grep \
13+
&& dnf remove -y "*-doc" \
14+
&& dnf autoremove -y \
15+
&& dnf clean all \
16+
&& python3.12 -m pip install meson pytest requests distro
17+
18+
ENV PATH /opt/_internal/cpython-3.12.3/bin:$PATH
19+
20+
# Create user
21+
RUN groupadd --gid 121 runner
22+
RUN useradd --uid 1001 --gid 121 --create-home runner
23+
USER runner
24+
WORKDIR /home/runner
25+
26+
RUN mkdir -p /home/runner/.local/bin
27+
RUN ln -s /usr/local/bin/python3.12 /home/runner/.local/bin/python
28+
ENV PATH /home/runner/.local/bin:$PATH

0 commit comments

Comments
 (0)