Skip to content

Commit e04a4ea

Browse files
committed
Bump to bullseye
Signed-off-by: David Porter <[email protected]>
1 parent a2b1f51 commit e04a4ea

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build/integration-in-docker.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,13 @@ function run_tests() {
3636
env GOOS=linux GOFLAGS='$GO_FLAGS' go test -c github.com/google/cadvisor/integration/tests/healthz"
3737

3838
if [ "$BUILD_PACKAGES" != "" ]; then
39-
BUILD_CMD="echo 'deb http://deb.debian.org/debian buster-backports main'>/etc/apt/sources.list.d/buster.list && \
40-
apt update && \
41-
apt install -y -t buster-backports $BUILD_PACKAGES && \
39+
BUILD_CMD="apt update && apt install -y $BUILD_PACKAGES && \
4240
$BUILD_CMD"
4341
fi
4442
docker run --rm \
4543
-w /go/src/github.com/google/cadvisor \
4644
-v ${PWD}:/go/src/github.com/google/cadvisor \
47-
golang:"$GOLANG_VERSION-buster" \
45+
golang:"$GOLANG_VERSION-bullseye" \
4846
bash -c "$BUILD_CMD"
4947

5048
EXTRA_DOCKER_OPTS="-e DOCKER_IN_DOCKER_ENABLED=true"
@@ -61,7 +59,8 @@ function run_tests() {
6159
--cap-add="sys_admin" \
6260
--entrypoint="" \
6361
gcr.io/k8s-testimages/bootstrap \
64-
bash -c "echo 'deb http://deb.debian.org/debian buster-backports main'>/etc/apt/sources.list.d/buster.list && \
62+
bash -c "export DEBIAN_FRONTEND=noninteractive && \
63+
echo 'deb http://deb.debian.org/debian buster-backports main'>/etc/apt/sources.list.d/buster.list && \
6564
cat /etc/apt/sources.list.d/buster.list && \
6665
apt update && \
6766
apt install -y -t buster-backports $PACKAGES && \

0 commit comments

Comments
 (0)