blob: ec57d0feec7a258e614bdc14a82109b62a098029 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Dockerfile
FROM ubuntu:18.04
# Install necessary packages
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
add-apt-repository -y ppa:git-core/ppa && \
apt-get install -y git gcc-9 g++-9 wget tar gzip rsync ninja-build
# Use alternative gcc
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 100
|