Skip to content

Commit

Permalink
bats test: change rust docker image to Debian 11 bullseye version
Browse files Browse the repository at this point in the history
The rust:1.72.1 image is based on the Debian 12 bookworm, and requires
an excessively high version of glibc, resulting in the inability to
find the glibc version to run the compiled nydus program on some old
operating systems.

Signed-off-by: Qinqi Qu <[email protected]>
  • Loading branch information
adamqqqplay authored and Desiki-high committed Jan 3, 2024
1 parent f085879 commit 8e1799e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bats/common_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ generate_rust_golang_dockerfile() {
local dockerfile=${1:-"/tmp/rust_golang_dockerfile"}
local rust_version=${2:-"${rust_toolchain}"}
cat > $dockerfile <<EOF
FROM rust:${rust_version}
FROM rust:${rust_version}-bullseye
RUN apt-get update -y \
&& apt-get install -y cmake g++ pkg-config jq libcurl4-openssl-dev libelf-dev libdw-dev binutils-dev libiberty-dev musl-tools \
Expand Down

0 comments on commit 8e1799e

Please sign in to comment.