From 1a3422329b93f1e4aef326b5269e314996a54bfc Mon Sep 17 00:00:00 2001 From: Sangwan Kwon Date: Thu, 23 Jan 2020 13:38:46 +0900 Subject: [PATCH] Bump to gcc-9 on docker Signed-off-by: Sangwan Kwon --- .docker/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index a8c3d42..a0ae105 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -5,6 +5,15 @@ MAINTAINER sangwan.kwon@samsung.com RUN apt-get update && \ apt-get install -qq build-essential git cmake automake +# g++9 +RUN apt-get update && \ + apt-get install -y software-properties-common && \ + add-apt-repository -y ppa:ubuntu-toolchain-r/test && \ + apt-get update && \ + apt-get install -y g++-9 && \ + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 10 && \ + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 20 + # glog & gtest RUN cd /usr/src && \ git clone https://github.com/google/glog.git && \ -- 2.34.1