Files
cdt/.cicd/platforms/ubuntu18.Dockerfile
T
2023-04-06 16:01:31 -04:00

32 lines
1.2 KiB
Docker

FROM ubuntu:bionic
RUN apt-get update && apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential \
g++-8 \
curl \
ninja-build \
software-properties-common \
zlib1g-dev \
pkg-config \
libboost-all-dev \
libcurl4-gnutls-dev
RUN curl -L https://cmake.org/files/v3.13/cmake-3.13.5.tar.gz | tar zx && \
cd cmake-3.13.5 && \
./configure && \
make -j$(nproc) install && \
cd .. && \
rm -rf cmake-3.13.5
RUN add-apt-repository ppa:git-core/ppa && apt update && apt install -y git
RUN curl -L https://www.python.org/ftp/python/3.10.6/Python-3.10.6.tgz | tar zx && \
cd Python* && \
./configure --enable-optimizations --prefix=/usr && \
make -j$(nproc) install && \
cd .. && \
rm -rf Python*
ENV CC=gcc-8
ENV CXX=g++-8