updated Dockerfile to use ubuntu 20.04 as base (#25435)

This commit is contained in:
Aarif
2020-11-03 17:28:03 +05:00
committed by GitHub
parent 7cd9c6652a
commit dafac0c9eb

View File

@@ -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