From 47b45701c28c2c3f1b299679d04ee65e23dbc388 Mon Sep 17 00:00:00 2001 From: Privacy Sandbox Team Date: Thu, 21 Nov 2024 17:08:58 -0500 Subject: [PATCH] Release 0.75.0 (2024-11-21) ### Features * Add gVisor dependencies to build-debian image Bug: b/338139234 Change-Id: I2d79dcfeefd10f8583de35eda1c8b54dd8084bb1 GitOrigin-RevId: f10cb78f98389255713a6ac36041e329a8b2f3fa --- CHANGELOG.md | 7 +++++++ images/build-debian/install_apps | 14 ++++++++++++++ tests/data/hashes/build-debian | 2 +- version.txt | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) 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