Skip to content

Commit 5c344ec

Browse files
committed
Using bookworm images
1 parent 54dff2b commit 5c344ec

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

build/integration-in-docker.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function run_tests() {
4242
docker run --rm \
4343
-w /go/src/github.com/google/cadvisor \
4444
-v ${PWD}:/go/src/github.com/google/cadvisor \
45-
golang:"$GOLANG_VERSION-bullseye" \
45+
golang:"$GOLANG_VERSION-bookworm" \
4646
bash -c "$BUILD_CMD"
4747

4848
EXTRA_DOCKER_OPTS="-e DOCKER_IN_DOCKER_ENABLED=true"
@@ -58,13 +58,11 @@ function run_tests() {
5858
--privileged \
5959
--cap-add="sys_admin" \
6060
--entrypoint="" \
61-
gcr.io/k8s-testimages/bootstrap \
61+
gcr.io/k8s-staging-test-infra/bootstrap \
6262
bash -c "export DEBIAN_FRONTEND=noninteractive && \
63-
echo 'deb http://deb.debian.org/debian buster-backports main'>/etc/apt/sources.list.d/buster.list && \
64-
cat /etc/apt/sources.list.d/buster.list && \
6563
apt update && \
66-
apt install -y -t buster-backports $PACKAGES && \
67-
CADVISOR_ARGS="$CADVISOR_ARGS" /usr/local/bin/runner.sh build/integration.sh"
64+
apt install -y $PACKAGES && \
65+
CADVISOR_ARGS=$CADVISOR_ARGS /usr/local/bin/runner.sh build/integration.sh"
6866
}
6967

7068
GO_FLAGS=${GO_FLAGS:-"-tags=netgo -race"}

0 commit comments

Comments
 (0)