Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b4e6d4f
authored
Jan 27, 2020
by
Amir Aharon
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update to cmake 3.10 for c++17 support
parent
7c1aefe3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
docker/dev-c++/Dockerfile.gcc7
docker/dev-c++/Dockerfile.gcc7
View file @
6b4e6d4f
...
@@ -23,13 +23,19 @@ RUN add-apt-repository ppa:ubuntu-toolchain-r/test
...
@@ -23,13 +23,19 @@ RUN add-apt-repository ppa:ubuntu-toolchain-r/test
RUN apt-get update
RUN apt-get update
# RUN apt-get dist-upgrade -y
# RUN apt-get dist-upgrade -y
RUN apt-get install gcc-7 g++-7
cmake
gdb gdbserver wget -y && \
RUN apt-get install gcc-7 g++-7 gdb gdbserver wget -y && \
apt-get clean autoclean && \
apt-get clean autoclean && \
apt-get autoremove -y && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
# wget -O /tmp/conan.deb -L https://github.com/conan-io/conan/releases/download/0.25.1/conan-ubuntu-64_0_25_1.deb && \
# wget -O /tmp/conan.deb -L https://github.com/conan-io/conan/releases/download/0.25.1/conan-ubuntu-64_0_25_1.deb && \
# dpkg -i /tmp/conan.deb
# dpkg -i /tmp/conan.deb
RUN cd /opt \
&& wget https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.tar.gz \
&& tar xf cmake-3.10.1-Linux-x86_64.tar.gz \
&& rm cmake-3.10.1-Linux-x86_64.tar.gz \
&& ln -sf /opt/cmake-3.10.1-Linux-x86_64/bin/cmake /usr/bin/cmake
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 999 \
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 999 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 999 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 999 \
&& update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-7 999 \
&& update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-7 999 \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment