Skip to content

Commit 69b6a19

Browse files
authored
fix(wasm/c): wasm-c-base and postgres-base build, missing GLIBC_2.39 (#444)
* bumping `wasi-sdk` to the latest one * fix postgres-base
1 parent 48a26a5 commit 69b6a19

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

earthly/postgresql/Earthfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ IMPORT ../java AS java
88
# cspell: words psycopg
99

1010
postgres-base:
11-
FROM postgres:16.4-bookworm
11+
FROM postgres:16.10-trixie
1212

1313
WORKDIR /root
1414

earthly/wasm/c/Earthfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,20 @@ IMPORT ../../../utilities/scripts AS scripts
88
wasm-c-base:
99
# This image comes from:
1010
# https://github.com/WebAssembly/wasi-sdk/pkgs/container/wasi-sdk
11-
FROM ghcr.io/webassembly/wasi-sdk:sha-754aec3
11+
FROM ghcr.io/webassembly/wasi-sdk:sha-400dd95
1212
WORKDIR /root
1313

1414
RUN apt-get update && apt-get install -y \
1515
bash \
1616
build-essential \
17-
python3-pip \
17+
python3-rich \
1818
&& rm -rf /var/lib/apt/lists/*
1919

2020
COPY rust-tools+tool-wasm-tools/wasm-tools /bin
2121
COPY rust-tools+tool-wit-bindgen/wit-bindgen /bin
2222

23-
RUN pip install rich==13.8.0
24-
2523
# Universal build scripts.
2624
COPY --dir scripts /scripts
2725
# Copy our common scripts so we can use them inside the container.
2826
DO scripts+ADD_BASH_SCRIPTS
29-
DO scripts+ADD_PYTHON_SCRIPTS
27+
DO scripts+ADD_PYTHON_SCRIPTS

0 commit comments

Comments
 (0)