File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,13 @@ function run_tests() {
36
36
env GOOS=linux GOFLAGS='$GO_FLAGS ' go test -c github.com/google/cadvisor/integration/tests/healthz"
37
37
38
38
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 && \
42
40
$BUILD_CMD "
43
41
fi
44
42
docker run --rm \
45
43
-w /go/src/github.com/google/cadvisor \
46
44
-v ${PWD} :/go/src/github.com/google/cadvisor \
47
- golang:" $GOLANG_VERSION -buster " \
45
+ golang:" $GOLANG_VERSION -bullseye " \
48
46
bash -c " $BUILD_CMD "
49
47
50
48
EXTRA_DOCKER_OPTS=" -e DOCKER_IN_DOCKER_ENABLED=true"
@@ -61,7 +59,8 @@ function run_tests() {
61
59
--cap-add=" sys_admin" \
62
60
--entrypoint=" " \
63
61
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 && \
65
64
cat /etc/apt/sources.list.d/buster.list && \
66
65
apt update && \
67
66
apt install -y -t buster-backports $PACKAGES && \
You can’t perform that action at this time.
0 commit comments