updated Dockerfile to use ubuntu 20.04 as base (#25435)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user