Dockerfile: bring build up to date with that in azure-pipelines.yml

Update Dockerfile to use Ubuntu 20.04 and the updated package list from
azure-pipelines.yml. Also explicitly include the g++ package into the container
without which configure will error out with a 'configure: error: C++ preprocessor
"/lib/cpp" fails sanity check' error.
This commit is contained in:
Mark Cave-Ayland 2022-10-17 14:29:05 +01:00 committed by Wolfgang Thaller
parent a230a79ca3
commit 0649693436
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
# vim:ft=dockerfile
FROM ubuntu:18.04
FROM ubuntu:20.04
RUN apt-get update && apt-get -y install \
g++ \
cmake libgmp-dev libmpfr-dev libmpc-dev libboost-all-dev bison \
zlib1g-dev \
perl texinfo
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
cmake libgmp-dev libmpfr-dev libmpc-dev \
libboost-all-dev bison texinfo \
ruby flex curl g++
ADD . /Retro68