Skip to content

Commit 289f76d

Browse files
committed
CI: Upgrade to Debian 12 for ppc64 and s390x
Debian 11 has reached EOL on these platforms
1 parent 848e0f3 commit 289f76d

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

platforms/linux-ppc64le/Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
FROM debian:bullseye
1+
FROM debian:bookworm
22
LABEL maintainer="Lovell Fuller <[email protected]>"
33

4-
# Create Debian 11 (glibc 2.31) container suitable for cross-compiling Linux ppc64le binaries
4+
# Create Debian 12 (glibc 2.36) container suitable for cross-compiling Linux ppc64le binaries
55

66
# Path settings
77
ENV \
88
RUSTUP_HOME="/usr/local/rustup" \
99
CARGO_HOME="/usr/local/cargo" \
10-
PATH="/usr/local/cargo/bin:$PATH"
10+
PATH="/usr/local/cargo/bin:/root/.local/bin:$PATH"
1111

1212
# Build dependencies
1313
RUN \
1414
apt-get update && \
1515
apt-get install -y curl && \
1616
dpkg --add-architecture ppc64el && \
17+
apt-get update && \
1718
apt-get install -y \
1819
autoconf \
1920
autopoint \
@@ -26,9 +27,11 @@ RUN \
2627
libssl-dev \
2728
libtool \
2829
ninja-build \
29-
pkg-config \
30+
pipx \
31+
pkgconf \
32+
pkgconf:ppc64el \
3033
python3-packaging \
31-
python3-pip \
34+
python3-tomli \
3235
&& \
3336
curl https://sh.rustup.rs -sSf | sh -s -- -y \
3437
--no-modify-path \
@@ -37,7 +40,7 @@ RUN \
3740
--default-toolchain nightly \
3841
&& \
3942
cargo install cargo-c --locked && \
40-
pip3 install meson==1.7.2 tomli
43+
pipx install meson==1.7.2
4144

4245
# Handy for debugging the compiled targets in Highway (hwy_list_targets)
4346
#RUN apt-get install -y qemu-user-static

platforms/linux-s390x/Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM debian:bullseye
1+
FROM debian:bookworm
22
LABEL maintainer="Lovell Fuller <[email protected]>"
33

4-
# Create Debian 11 (glibc 2.31) container suitable for cross-compiling Linux s390x binaries
4+
# Create Debian 12 (glibc 2.36) container suitable for cross-compiling Linux s390x binaries
55

66
# Path settings
77
ENV \
88
RUSTUP_HOME="/usr/local/rustup" \
99
CARGO_HOME="/usr/local/cargo" \
10-
PATH="/usr/local/cargo/bin:$PATH"
10+
PATH="/usr/local/cargo/bin:/root/.local/bin:$PATH"
1111

1212
# Build dependencies
1313
RUN \
@@ -27,9 +27,11 @@ RUN \
2727
libssl-dev \
2828
libtool \
2929
ninja-build \
30-
pkg-config \
30+
pipx \
31+
pkgconf \
32+
pkgconf:s390x \
3133
python3-packaging \
32-
python3-pip \
34+
python3-tomli \
3335
&& \
3436
curl https://sh.rustup.rs -sSf | sh -s -- -y \
3537
--no-modify-path \
@@ -38,7 +40,7 @@ RUN \
3840
--default-toolchain nightly \
3941
&& \
4042
cargo install cargo-c --locked && \
41-
pip3 install meson==1.7.2 tomli
43+
pipx install meson==1.7.2
4244

4345
# Handy for debugging the compiled targets in Highway (hwy_list_targets)
4446
#RUN apt-get install -y qemu-user-static

0 commit comments

Comments
 (0)