@@ -6,7 +6,7 @@
# We use a specific tag for the base image *and* the corresponding date
# for the repository., so do not forget to update the apt-sources.list
# file that is shipped next to this Dockerfile.
-FROM debian:stretch-20171210
+FROM debian:buster-20200327
LABEL maintainer="Buildroot mailing list <buildroot@buildroot.org>" \
vendor="Buildroot" \
@@ -1,4 +1,4 @@
-# Latest just before 20171210T000000Z:
-deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20171209T220346Z/ stretch main
-deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20171209T220346Z/ stretch-updates main
-deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20171209T224618Z/ stretch/updates main
+# Latest just before 20200327T000000Z:
+deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20200326T221821Z/ buster main
+deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20200326T221821Z/ buster-updates main
+deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20200316T220151Z/ buster/updates main
Update the test container to debian:buster-20200327, because it contains the openssh-server package v7.9, which provides an updated ssh-keygen (since v7.6). Specifically, the host key generation function in openssh-server v7.6 onwards now accepts a flag that allows us to specify a host tree prefix, instead of trying to create SSH host keys in /. This allows us to create SSH host keys and therefore run an SSH server as a non-root user. For example, to create host keys in `prefix/host/etc/ssh`: ssh-keygen -A -f prefix/host Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk> --- support/docker/Dockerfile | 2 +- support/docker/apt-sources.list | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)