diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bfbbb7..ea18fe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## 0.75.0 (2024-11-21) + + +### Features + +* Add gVisor dependencies to build-debian image + ## 0.74.0 (2024-11-21) diff --git a/images/build-debian/install_apps b/images/build-debian/install_apps index 3aa3ad3..e9ad8fb 100755 --- a/images/build-debian/install_apps +++ b/images/build-debian/install_apps @@ -139,6 +139,19 @@ function install_clang_tidy() { ln -s "${installed_clang_tidy}" "${installed_dir}"/clang-tidy } +# Minimal list of dependencies for building gVisor runsc from source. +# Derived from - https://github.com/google/gvisor/blob/4c89bb77d8bb65325288dc046ebd86122ebc6c05/images/default/Dockerfile +function install_gvisor_deps() { + declare -r arch="$1" + apt-get --quiet install -y --no-install-recommends \ + crossbuild-essential-amd64="12.9*" \ + crossbuild-essential-arm64="12.9*" \ + libbpf-dev="1:0.5.0-*" + if [[ ${arch} == amd64 ]]; then + apt-get install -y --no-install-recommends libc6-dev-i386="2.35-*" + fi +} + function cleanup() { apt-get --quiet autoremove -y apt-get autoclean @@ -160,6 +173,7 @@ install_misc "${BUILD_ARCH}" install_clang install_clang_tidy install_golang "${BUILD_ARCH}" +install_gvisor_deps "${BUILD_ARCH}" install_docker "${BUILD_ARCH}" install_python # should run after other install_* cleanup diff --git a/tests/data/hashes/build-debian b/tests/data/hashes/build-debian index 4096364..9ef168d 100644 --- a/tests/data/hashes/build-debian +++ b/tests/data/hashes/build-debian @@ -1 +1 @@ -bfc34df959f55f87ba7395cfe1dc46479a7fa6319ebfcebcf6c97770fe449046 +240b6be7b685c614309e4eb852af37dabe3f808a8e17051d817ba60351ad2acf diff --git a/version.txt b/version.txt index 57dc14f..0c55b9c 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.74.0 \ No newline at end of file +0.75.0 \ No newline at end of file