gvisor/kokoro: don't downgrade libseccomp

It isn't required with a new vm image.

PiperOrigin-RevId: 237915203
Change-Id: I813e7f1801d0766cec598413718e5ddd4c3d8cdf
This commit is contained in:
Andrei Vagin
2019-03-11 17:01:49 -07:00
committed by Shentubot
parent bc9b979b94
commit 4a8062990f
+3 -2
View File
@@ -44,6 +44,9 @@ use_bazel.sh latest
which bazel
bazel version
# Load the kvm module
sudo -n -E modprobe kvm
# Bazel start-up flags for RBE.
BAZEL_RBE_FLAGS=(
"--bazelrc=${WORKSPACE_DIR}/.bazelrc_rbe"
@@ -99,9 +102,7 @@ install_runtime() {
# Install dependencies for the crictl tests.
install_crictl_test_deps() {
# Install containerd.
# libseccomp2 needs to be downgraded in order to install libseccomp-dev.
sudo -n -E apt-get update
sudo -n -E apt-get install -y --force-yes libseccomp2=2.1.1-1ubuntu1~trusty5
sudo -n -E apt-get install -y btrfs-tools libseccomp-dev
# go get will exit with a status of 1 despite succeeding, so ignore errors.
go get -d github.com/containerd/containerd || true