[gnome-commander] Revert last commit but move command for setting up gcc alternates down in Dockerfile



commit 3b173c563c3983b700f45e16ffc086d4b8b7b232
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Jan 27 21:16:38 2019 +0100

    Revert last commit but move command for setting up gcc alternates down in Dockerfile

 Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 0fe77aea..3860887a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,9 +11,10 @@ RUN \
   echo $LANG && \
   echo $LC_ALL && \
   sudo apt-get install gcc-8 g++-8 -y && \
-  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
+  sudo apt-get install -y -qq cmake flex git-core libglib2.0-dev libgtest-dev libunique-dev yelp-tools && \
+  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
 
 RUN \
   cd /usr/src/gtest && \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]