File tree Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
- FROM debian:bullseye
1
+ FROM debian:bookworm
2
2
LABEL maintainer=
"Lovell Fuller <[email protected] >"
3
3
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
5
5
6
6
# Path settings
7
7
ENV \
8
8
RUSTUP_HOME="/usr/local/rustup" \
9
9
CARGO_HOME="/usr/local/cargo" \
10
- PATH="/usr/local/cargo/bin:$PATH"
10
+ PATH="/usr/local/cargo/bin:/root/.local/bin: $PATH"
11
11
12
12
# Build dependencies
13
13
RUN \
14
14
apt-get update && \
15
15
apt-get install -y curl && \
16
16
dpkg --add-architecture ppc64el && \
17
+ apt-get update && \
17
18
apt-get install -y \
18
19
autoconf \
19
20
autopoint \
26
27
libssl-dev \
27
28
libtool \
28
29
ninja-build \
29
- pkg-config \
30
+ pipx \
31
+ pkgconf \
32
+ pkgconf:ppc64el \
30
33
python3-packaging \
31
- python3-pip \
34
+ python3-tomli \
32
35
&& \
33
36
curl https://sh.rustup.rs -sSf | sh -s -- -y \
34
37
--no-modify-path \
37
40
--default-toolchain nightly \
38
41
&& \
39
42
cargo install cargo-c --locked && \
40
- pip3 install meson==1.7.2 tomli
43
+ pipx install meson==1.7.2
41
44
42
45
# Handy for debugging the compiled targets in Highway (hwy_list_targets)
43
46
# RUN apt-get install -y qemu-user-static
Original file line number Diff line number Diff line change 1
- FROM debian:bullseye
1
+ FROM debian:bookworm
2
2
LABEL maintainer=
"Lovell Fuller <[email protected] >"
3
3
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
5
5
6
6
# Path settings
7
7
ENV \
8
8
RUSTUP_HOME="/usr/local/rustup" \
9
9
CARGO_HOME="/usr/local/cargo" \
10
- PATH="/usr/local/cargo/bin:$PATH"
10
+ PATH="/usr/local/cargo/bin:/root/.local/bin: $PATH"
11
11
12
12
# Build dependencies
13
13
RUN \
27
27
libssl-dev \
28
28
libtool \
29
29
ninja-build \
30
- pkg-config \
30
+ pipx \
31
+ pkgconf \
32
+ pkgconf:s390x \
31
33
python3-packaging \
32
- python3-pip \
34
+ python3-tomli \
33
35
&& \
34
36
curl https://sh.rustup.rs -sSf | sh -s -- -y \
35
37
--no-modify-path \
38
40
--default-toolchain nightly \
39
41
&& \
40
42
cargo install cargo-c --locked && \
41
- pip3 install meson==1.7.2 tomli
43
+ pipx install meson==1.7.2
42
44
43
45
# Handy for debugging the compiled targets in Highway (hwy_list_targets)
44
46
# RUN apt-get install -y qemu-user-static
You can’t perform that action at this time.
0 commit comments