Skip to content

Commit

Permalink
Bump to bullseye
Browse files Browse the repository at this point in the history
Signed-off-by: David Porter <[email protected]>
  • Loading branch information
bobbypage committed Feb 26, 2024
1 parent a2b1f51 commit e04a4ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build/integration-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ function run_tests() {
env GOOS=linux GOFLAGS='$GO_FLAGS' go test -c github.com/google/cadvisor/integration/tests/healthz"

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

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

0 comments on commit e04a4ea

Please sign in to comment.