docker: upgrade to Debian Buster (current stable)

We were previously building the Docker image on top of Debian Stretch,
which is now the oldstable distribution.  Upgrade to Buster to get newer
versions of various host packages; in particular, this gets us a newer
libc.

BUG=None
TEST=docker/build_crosvm_base.sh && docker/wrapped_smoke_test.sh

Change-Id: Ie9b92d7e053239234cc79936c9a2804560bba18a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2267689
Reviewed-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2020-06-25 12:45:48 -07:00 committed by Commit Bot
parent 1c365a78c1
commit 0130b08077

View file

@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
FROM debian:stretch FROM debian:buster
LABEL description="Test crosvm using a command like the following: \ LABEL description="Test crosvm using a command like the following: \
docker run --privileged -v /dev/log:/dev/log -v <path to crosvm>:/platform/crosvm:ro <crosvm base image>" docker run --privileged -v /dev/log:/dev/log -v <path to crosvm>:/platform/crosvm:ro <crosvm base image>"
@ -19,10 +19,9 @@ RUN apt-get update && apt-get install -y \
libegl1-mesa-dev \ libegl1-mesa-dev \
libfdt-dev \ libfdt-dev \
libgl1-mesa-dev \ libgl1-mesa-dev \
libgles1-mesa-dev \
libgles2-mesa-dev \ libgles2-mesa-dev \
libpciaccess-dev \ libpciaccess-dev \
libssl1.0-dev \ libssl-dev \
libtool \ libtool \
libusb-1.0-0-dev \ libusb-1.0-0-dev \
libwayland-dev \ libwayland-dev \