From 2d92e2b5e72ab7ea3008a65f8b7d6531d67a02d0 Mon Sep 17 00:00:00 2001 From: Kristian Amlie Date: Thu, 28 May 2020 10:20:26 +0200 Subject: [PATCH] Switch Docker container from 19.10 (EOL) to 20.04. This also requires us to use noninteractive install environment because of new timezone selection in tzdata package. Changelog: Fix 404 download errors when trying to run `docker-build`. Signed-off-by: Kristian Amlie --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3ef9e4..86e1e74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Build pxz in separate image to avoid big image size -FROM ubuntu:19.10 AS build -RUN apt-get update && apt-get install -y \ +FROM ubuntu:20.04 AS build +RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install -y \ build-essential \ git \ liblzma-dev @@ -9,11 +9,11 @@ RUN apt-get update && apt-get install -y \ RUN git clone https://github.com/jnovy/pxz.git /root/pxz RUN cd /root/pxz && make -FROM ubuntu:19.10 +FROM ubuntu:20.04 ARG MENDER_ARTIFACT_VERSION=3.2.1 -RUN apt-get update && apt-get install -y \ +RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install -y \ # For 'ar' command to unpack .deb binutils \ xz-utils \