[gnome-commander] Set GCC 8 as default compiler in Ubuntu in Dockerfile
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Set GCC 8 as default compiler in Ubuntu in Dockerfile
- Date: Sun, 27 Jan 2019 18:23:31 +0000 (UTC)
commit b24514dd5781684708246b6d3104dd710cfc4fcc
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Jan 27 19:23:06 2019 +0100
Set GCC 8 as default compiler in Ubuntu in Dockerfile
Dockerfile | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index 4ae1e08f..cc5b8642 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,6 +10,9 @@ RUN \
apt-get install -yq sudo && \
echo $LANG && \
echo $LC_ALL && \
+ sudo apt-get install gcc-8 g++-8 && \
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++
/usr/bin/g++-7 && \
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++
/usr/bin/g++-8 && \
sudo apt-get build-dep gnome-commander -y && \
sudo apt-get install -y -qq cmake flex git-core libglib2.0-dev libgtest-dev libunique-dev yelp-tools
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]