Files
Javier AliagaandJosh van Leeuwen 8fd8d68c5b fix: build the dev container on bookworm (#10651)
* fix: build the dev container on bookworm

golang:1.26.6-bullseye does not exist, so the weekly dapr-dev-container
build has failed since August. Move the image to bookworm and fix what
breaks there:

- common-debian.sh enables contrib/non-free in
  /etc/apt/sources.list.d/debian.sources, since bookworm has no
  /etc/apt/sources.list.
- common-debian.sh installs liblttng-ust1 when available; bookworm
  renamed liblttng-ust0.
- install-dapr-tools.sh installs protoc-gen-connect-go from
  connectrpc.com/connect at the version the Makefile pins (1.18.1).
  It used a non-existent module path and read its version from the
  protoc-gen-go-grpc argument.

Signed-off-by: Javier Aliaga <javier@diagrid.io>

* fix: update the apt cache before probing for liblttng-ust1

On an image with an empty /var/lib/apt/lists, apt-cache finds nothing
and the script picks liblttng-ust0, which bookworm does not have.

Signed-off-by: Javier Aliaga <javier@diagrid.io>

---------

Signed-off-by: Javier Aliaga <javier@diagrid.io>
Co-authored-by: Josh van Leeuwen <me@joshvanl.dev>
2026-10-07 11:40:56 +00:00
..
2022-12-12 06:40:43 -08:00

Maintenance Note

The contents of this folder are sourced from vscode-dev-containers repository's script-library folder. Any changes that are necessary should be contributed upstream to that repository instead.