From dafac0c9eb9f7308c6b21c4ad2a15a0231334dd6 Mon Sep 17 00:00:00 2001 From: Aarif Date: Tue, 3 Nov 2020 17:28:03 +0500 Subject: [PATCH] updated Dockerfile to use ubuntu 20.04 as base (#25435) --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 129c7a81a6..7c012e8739 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ -FROM ubuntu:xenial as base +FROM ubuntu:focal as base # Warning: This file is experimental. # Install system requirements RUN apt-get update && \ - apt-get install -y software-properties-common && \ - apt-add-repository -y ppa:deadsnakes/ppa && apt-get update && \ # Global requirements DEBIAN_FRONTEND=noninteractive apt-get install --yes \ build-essential \ @@ -40,8 +38,8 @@ RUN apt-get update && \ libxslt1-dev \ ntp \ pkg-config \ - python3.8-dev \ - python3.8-venv \ + python3-dev \ + python3-venv \ && rm -rf /var/lib/apt/lists/* RUN locale-gen en_US.UTF-8