From 593003d681fa6bf81a6affb4ef4129684af97f9c Mon Sep 17 00:00:00 2001 From: Maxim Pugachev Date: Tue, 28 Apr 2020 20:49:06 +0200 Subject: [PATCH] unix: switch to Ubuntu 20.04 in Dockerfile ubuntu:19.04 is not supported anymore and update repos are unavailable, so build process on Linux just fails. Latest stable ubuntu:20.04 works fine. Also, DEBIAN_FRONTEND=noninteractive env variable has been added to prevent unneeded questions during installation of tzdata package. Fixes golang/go#38724 Change-Id: I2d7730d83fc051de2879d4f97fc7942090d2574c Reviewed-on: https://go-review.googlesource.com/c/sys/+/230577 Run-TryBot: Tobias Klauser Reviewed-by: Tobias Klauser TryBot-Result: Gobot Gobot --- unix/linux/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unix/linux/Dockerfile b/unix/linux/Dockerfile index 0cec8d79..9a42f2f2 100644 --- a/unix/linux/Dockerfile +++ b/unix/linux/Dockerfile @@ -1,4 +1,7 @@ -FROM ubuntu:19.04 +FROM ubuntu:20.04 + +# Disable interactive prompts on package installation +ENV DEBIAN_FRONTEND noninteractive # Dependencies to get the git sources and go binaries RUN apt-get update && apt-get install -y --no-install-recommends \